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

No change.

module sentenceconnectors:

No change.

module complementise:

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">
+        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <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">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.plur"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d&#x361;&#x292;&#x2B1; &#xF8; &#x2C8; &#x273;" slots="Cir Cfr">d͡ʒʱøˈɳ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;" slots="Cir Cfr">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM" ph="b&#x2B1;&#x2E4; &#x25E;# &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">bʱˤɞ#ˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;" slots="Cip Cfp">qʰʷo#n̪</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x1D51;&#x1C0;&#x2E4; &#x276; &#x2C8; f&#x2E4;" slots="Cir Cfr">ᵑǀˤɶˈfˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+k &#x289; &#x2C8; &#x27B;" slots="Cir Cfr">skʉˈɻ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+t&#x2B2; &#x25E;&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">stʲɞːˈŋ</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d&#x361;&#x292;&#x2B1; &#xF8; &#x2C8; &#x273;" slots="Cir Cfr">d͡ʒʱøˈɳ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;" slots="Cir Cfr">ðɞːʒd̪ɶ#ˈʈ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM" ph="b&#x2B1;&#x2E4; &#x25E;# &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">bʱˤɞ#ˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d&#x361;&#x292;&#x2B1; &#xF8; &#x2C8; &#x273;">d͡ʒʱøˈɳ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM" ph="b&#x2B1;&#x2E4; &#x25E;# &#x2C8; &#xF0;&#x2E4;">bʱˤɞ#ˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;" slots="Cip Cfp">qʰʷo#n̪</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x1D51;&#x1C0;&#x2E4; &#x276; &#x2C8; f&#x2E4;" slots="Cir Cfr">ᵑǀˤɶˈfˤ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+k &#x289; &#x2C8; &#x27B;" slots="Cir Cfr">skʉˈɻ</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+t&#x2B2; &#x25E;&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">stʲɞːˈŋ</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;">qʰʷo#n̪</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x1D51;&#x1C0;&#x2E4; &#x276; &#x2C8; f&#x2E4;">ᵑǀˤɶˈfˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+k &#x289; &#x2C8; &#x27B;">skʉˈɻ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+t&#x2B2; &#x25E;&#x2D0; &#x2C8; &#x14B;">stʲɞːˈŋ</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d&#x361;&#x292;&#x2B1; &#xF8; &#x2C8; &#x273;">d͡ʒʱøˈɳ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;">ðɞːʒd̪ɶ#ˈʈ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM" ph="b&#x2B1;&#x2E4; &#x25E;# &#x2C8; &#xF0;&#x2E4;">bʱˤɞ#ˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;">qʰʷo#n̪</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x1D51;&#x1C0;&#x2E4; &#x276; &#x2C8; f&#x2E4;">ᵑǀˤɶˈfˤ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+k &#x289; &#x2C8; &#x27B;">skʉˈɻ</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="s+t&#x2B2; &#x25E;&#x2D0; &#x2C8; &#x14B;">stʲɞːˈŋ</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM">d͡ʒʱøˈɳ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="NOM">bʱˤɞ#ˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur">qʰʷo#n̪</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">ᵑǀˤɶˈfˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">skʉˈɻ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">stʲɞːˈŋ</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒʱøɳ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;woman&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɞːˈʒd̪ɶ̃ʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈbʱˤɞ̃ðˤ&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;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃij&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;qʰʷõn̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǀˤɶfˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈskʉɻ&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;ˈstʲɞːŋ&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;q͡χʷʉˈxʷɵːd͡ʐ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈd͡ʒʱøɳ ðɞːˈʒd̪ɶ̃ʈ ˈbʱˤɞ̃ðˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǃij qʰʷõn̪ ˈᵑǀˤɶfˤ ˈskʉɻ ˈstʲɞːŋ q͡χʷʉˈxʷɵːd͡ʐ</p>
+  <p>htwʉnʉnp̣ jhörn ðɞɞzhdɶnrt bḥɞnð̣ ngqwœtz ngcʉnʝ nqiy qhwónn nc̣ɶf̣ skʉɻ stiɞɞng qqhwʉkhwɵɵd͡ʐ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒʱøɳ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ðɞːˈʒd̪ɶ̃ʈ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈbʱˤɞ̃ðˤ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǃij</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>qʰʷõn̪</o>
+      <g>ACC.plur</g>
+    </w>
+    <w>
+      <o>ˈᵑǀˤɶfˤ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>ˈskʉɻ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈstʲɞːŋ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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 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">
      <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="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <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">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <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>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="q&#x2B7; &#x25E; k&#x2B0;" slots="Cip Cir">qʷɞkʰ</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="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/kʰ/ + /zʷ+ɡʲ/ > // + /kʰ/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="q&#x2B7; &#x25E; k&#x2B0;" slots="Cip Cir">qʷɞkʰ</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="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="q&#x2B7; &#x25E;" underlying="q&#x2B7; &#x25E; k&#x2B0;">qʷɞ</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&#x2B0; o &#x2C8; b&#x2E4;" underlying="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">kʰoˈbˤ</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="q&#x2B7; &#x25E;" underlying="q&#x2B7; &#x25E; k&#x2B0;">qʷɞ</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&#x2B0; o &#x2C8; b&#x2E4;" underlying="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">kʰoˈbˤ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="q&#x2B7; &#x25E; k&#x2B0;">qʷɞ</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" underlying="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">kʰoˈbˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷɞkʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzʷɡʲobˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈtʰˤø̃ːðˤ ᵑǀʱʉ̃ʝ qʷɞˈkʰobˤ</p>
+  <p>htwʉnʉnp̣ tḥönönð̣ ngcʉnʝ qwɞkhóḅ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>qʷɞkʰ-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈzʷɡʲobˤ</o>
+      <g>girl</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Stutsoob hates Tsoechud.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="Stutsoob" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s&#x2E4;+t&#x32A; &#x289; t&#x361;s&#x2BC; y&#x2D0; &#x2C8; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˤt̪ʉt͡sʼyːˈbʱˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="q&#x2B0;&#x2B7; &#x289; z&#x2B7;+&#x25F; i# &#x2C8; &#x290;" slots="Cir Cfr">qʰʷʉzʷɟi#ˈʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="Tsoechud" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="t&#x361;s&#x2E4; &#xF8;#&#x2D0; t&#x361;&#x283; &#x289; &#x2C8; d" slots="Cir Cfr">t͡sˤø#ːt͡ʃʉˈd</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="loveprop" translation="Stutsoob hates Tsoechud.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="Stutsoob" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s&#x2E4;+t&#x32A; &#x289; t&#x361;s&#x2BC; y&#x2D0; &#x2C8; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˤt̪ʉt͡sʼyːˈbʱˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="Stutsoob" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s&#x2E4;+t&#x32A; &#x289; t&#x361;s&#x2BC; y&#x2D0; &#x2C8; b&#x2B1;&#x2E4;">sˤt̪ʉt͡sʼyːˈbʱˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="q&#x2B0;&#x2B7; &#x289; z&#x2B7;+&#x25F; i# &#x2C8; &#x290;" slots="Cir Cfr">qʰʷʉzʷɟi#ˈʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="Tsoechud" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="t&#x361;s&#x2E4; &#xF8;#&#x2D0; t&#x361;&#x283; &#x289; &#x2C8; d" slots="Cir Cfr">t͡sˤø#ːt͡ʃʉˈd</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="q&#x2B0;&#x2B7; &#x289; z&#x2B7;+&#x25F; i# &#x2C8; &#x290;">qʰʷʉzʷɟi#ˈʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="Tsoechud" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="t&#x361;s&#x2E4; &#xF8;#&#x2D0; t&#x361;&#x283; &#x289; &#x2C8; d">t͡sˤø#ːt͡ʃʉˈd</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Stutsoob hates Tsoechud.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="Stutsoob" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s&#x2E4;+t&#x32A; &#x289; t&#x361;s&#x2BC; y&#x2D0; &#x2C8; b&#x2B1;&#x2E4;">sˤt̪ʉt͡sʼyːˈbʱˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="q&#x2B0;&#x2B7; &#x289; z&#x2B7;+&#x25F; i# &#x2C8; &#x290;">qʰʷʉzʷɟi#ˈʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="Tsoechud" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="t&#x361;s&#x2E4; &#xF8;#&#x2D0; t&#x361;&#x283; &#x289; &#x2C8; d">t͡sˤø#ːt͡ʃʉˈd</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="Stutsoob" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes">sˤt̪ʉt͡sʼyːˈbʱˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">qʰʷʉzʷɟi#ˈʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="Tsoechud" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes">t͡sˤø#ːt͡ʃʉˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤt̪ʉˈt͡sʼyːbʱˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Stutsoob&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;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʰʷʉˈzʷɟĩʐ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤø̃ːˈt͡ʃʉd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Tsoechud&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ sˤt̪ʉˈt͡sʼyːbʱˤ ᵑǀʱʉ̃ʝ qʰʷʉˈzʷɟĩʐ t͡ʃʰiɴˤ t͡sˤø̃ːˈt͡ʃʉd</p>
+  <p>htwʉnʉnp̣ Ṣtʉtzʼüübḥ ngcʉnʝ qhwʉzwdyinrz txhiqṇ Tẓönöntxʉd</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>sˤt̪ʉˈt͡sʼyːbʱˤ</o>
+      <g>Stutsoob</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>qʰʷʉˈzʷɟĩʐ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>t͡sˤø̃ːˈt͡ʃʉd</o>
+      <g>Tsoechud</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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 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">
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.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">
+    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM" number="sing">
  <thingy type="npcase.number" function="proclitic" gloss="NOM.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" case="NOM">
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">n̥yˈfˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kˤiːk͡xˤɶˈʁ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̥yfˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kˤiːˈk͡xˤɶʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈn̥yfˤ kˤiːˈk͡xˤɶʁ</p>
+  <p>htwʉnʉnp̣ nhüf̣ ḳiikkḥɶqh</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈn̥yfˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kˤiːˈk͡xˤɶʁ</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">tʰˤø#ːˈðˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kˤiːk͡xˤɶˈʁ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kˤiːˈk͡xˤɶʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈtʰˤø̃ːðˤ kˤiːˈk͡xˤɶʁ</p>
+  <p>htwʉnʉnp̣ tḥönönð̣ ḳiikkḥɶqh</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kˤiːˈk͡xˤɶʁ</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">qʰʷɔːˈxˤ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kˤiːk͡xˤɶˈʁ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kˤiːˈk͡xˤɶʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ kˤiːˈk͡xˤɶʁ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ḳiikkḥɶqh</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kˤiːˈk͡xˤɶʁ</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;" slots="Cir Cfr">ᵑǃˤi#ˈmˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3;&#x2B1; &#x25E; &#x279;&#x2E4; &#x25E;# &#x2C8; &#x27E;&#x2E4;" slots="Cir Cfr">ᵑǃʱɞɹˤɞ#ˈɾˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="n &#x25E; k&#x2B7; &#x276; &#x2C8; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">nɞkʷɶˈt͡ʃʼ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;" slots="Cir Cfr">sˤkʷɞ#ˈrˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;" slots="Cir Cfr">ᵑǃˤi#ˈmˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;">ᵑǃˤi#ˈmˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3;&#x2B1; &#x25E; &#x279;&#x2E4; &#x25E;# &#x2C8; &#x27E;&#x2E4;" slots="Cir Cfr">ᵑǃʱɞɹˤɞ#ˈɾˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="n &#x25E; k&#x2B7; &#x276; &#x2C8; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">nɞkʷɶˈt͡ʃʼ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;" slots="Cir Cfr">sˤkʷɞ#ˈrˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3;&#x2B1; &#x25E; &#x279;&#x2E4; &#x25E;# &#x2C8; &#x27E;&#x2E4;">ᵑǃʱɞɹˤɞ#ˈɾˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="n &#x25E; k&#x2B7; &#x276; &#x2C8; t&#x361;&#x283;&#x2BC;">nɞkʷɶˈt͡ʃʼ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;">sˤkʷɞ#ˈrˤ</word>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;">ᵑǃˤi#ˈmˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3;&#x2B1; &#x25E; &#x279;&#x2E4; &#x25E;# &#x2C8; &#x27E;&#x2E4;">ᵑǃʱɞɹˤɞ#ˈɾˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="n &#x25E; k&#x2B7; &#x276; &#x2C8; t&#x361;&#x283;&#x2BC;">nɞkʷɶˈt͡ʃʼ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;">sˤkʷɞ#ˈrˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM">ᵑǃˤi#ˈmˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ᵑǃʱɞɹˤɞ#ˈɾˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">nɞkʷɶˈt͡ʃʼ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC">sˤkʷɞ#ˈrˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰˤɶ̃ˈðaz&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;ˈᵑǃˤĩmˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱɞˈɹˤɞ̃ɾˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃʱʷøɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nɞˈkʷɶt͡ʃʼ&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;ˈsˤkʷɞ̃rˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ tʰˤɶ̃ˈðaz ˈᵑǃˤĩmˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ᵑǃʱɞˈɹˤɞ̃ɾˤ t͡ʃʰiɴˤ ˈᵑǃʱʷøɟ nɞˈkʷɶt͡ʃʼ ˈsˤkʷɞ̃rˤ</p>
+  <p>htwʉnʉnp̣ tḥɶnðaz nq̣inṃ ngqwœtz ngcʉnʝ ngqɞɹ̣ɞnṛ txhiqṇ ngqwödy nɞquɶchʼ ṣquɞnrṛ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>tʰˤɶ̃ˈðaz</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈᵑǃˤĩmˤ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ᵑǃʱɞˈɹˤɞ̃ɾˤ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǃʱʷøɟ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>nɞˈkʷɶt͡ʃʼ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ˈsˤkʷɞ̃rˤ</o>
+      <g>son</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

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 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">
-    <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">
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word gloss="a" posp="det"/>
    <word posp="noun" gloss="lamb"/>
  </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">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
  </np>
</example>

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">vˤɛːʁˤaiˈð</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">vˤɛːʁˤaiˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM">vˤɛːʁˤaiˈð</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vˤɛːˈʁˤaið&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈᶢǀʷaːʁ vˤɛːˈʁˤaið</p>
+  <p>htwʉnʉnp̣ gcwaaqh ṿææqḥaið</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>vˤɛːˈʁˤaið</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t͡ʂ/ + /vˤ/ > // + /p͡fˤ/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷcɛ̃t͡ʂ-&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;vˤɛːˈʁˤaið&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈᶢǀʷaːʁ sʷcɛ̃p͡fˤɛːˈʁˤaið</p>
+  <p>htwʉnʉnp̣ gcwaaqh swtjænpf̣ææqḥaið</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>sʷcɛ̃t͡ʂ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>vˤɛːˈʁˤaið</o>
+      <g>lamb</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="have"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+      <thingy type="npcase.number" function="proclitic" gloss="ACC.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>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-      <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"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <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"/>
-    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <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"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-      </word>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <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"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t͡ʂ/ + /vˤ/ > // + /p͡fˤ/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">qʼˤœˈd͡ʑ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʼˤœd͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷcɛ̃t͡ʂ-&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;vˤɛːˈʁˤaið&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈtʰˤø̃ːðˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈqʼˤœd͡ʑ t͡ʃʰiɴˤ ˈᶢǀʷaːʁ sʷcɛ̃p͡fˤɛːˈʁˤaið</p>
+  <p>htwʉnʉnp̣ tḥönönð̣ ngqwœtz ngcʉnʝ gq̣œd͡ʑ txhiqṇ gcwaaqh swtjænpf̣ææqḥaið</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈqʼˤœd͡ʑ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>sʷcɛ̃t͡ʂ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>vˤɛːˈʁˤaið</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

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

No change.

addclitics:

<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">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <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>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<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">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
+    <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>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x1D4F;&#x1C3;&#x2BC;&#x2B7; &#x1D4A; &#x262;&#x2B7;" slots="Cip Cir">ᵏǃʼʷᵊɢʷ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ɢʷ/ + /qʼˤ/ > /ɢʷ/ + /qʼˤ/
<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x1D4F;&#x1C3;&#x2BC;&#x2B7; &#x1D4A; &#x262;&#x2B7;" slots="Cip Cir">ᵏǃʼʷᵊɢʷ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x1D4F;&#x1C3;&#x2BC;&#x2B7; &#x1D4A; &#x262;&#x2B7;">ᵏǃʼʷᵊɢʷ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x1D4F;&#x1C3;&#x2BC;&#x2B7; &#x1D4A; &#x262;&#x2B7;">ᵏǃʼʷᵊɢʷ</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="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb">ᵏǃʼʷᵊɢʷ</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">qʼˤœˈd͡ʑ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʼʷᵊɢʷ-&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;ˈqʼˤœd͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈtʰˤø̃ːðˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ᵏǃʼʷᵊɢʷˈqʼˤœd͡ʑ</p>
+  <p>htwʉnʉnp̣ tḥönönð̣ ngqwœtz ngcʉnʝ ᵏǃʼwħgwgq̣œd͡ʑ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʷᵊɢʷ-</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ˈqʼˤœd͡ʑ</o>
+      <g>have</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<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>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </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">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
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">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
      </subs>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<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>
    <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>
-        <word gloss="COMP" posp="pp"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="have"/>
-        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module casemarking:

<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>
    <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">
      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number">
+        <np number="sing" tr="rheme" role="subj" 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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

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>
    <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 role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" 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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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>
    <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" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" 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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+          <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>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
          <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">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+          <thingy type="npcase.number" function="proclitic" gloss="NOM.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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-          <word gloss="a" posp="det"/>
-          <word gloss="lamb" lexposp="noun" posp="noun">
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
+          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
            <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">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb4" translation="She often wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <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"/>
-    </vp>
-    <np role="obj" number="sing">
-      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
    <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">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;" slots="Cir Cfr">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z" slots="Cir Cfr">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t͡ʂ/ + /vˤ/ > // + /p͡fˤ/
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;" slots="Cir Cfr">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z" slots="Cir Cfr">ᶢǃˤu#ˈz</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z">ᶢǃˤu#ˈz</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">vˤɔˈʃ</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">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvˤɔʃ&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;ˈᶢǃˤũz&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷcɛ̃t͡ʂ-&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;vˤɛːˈʁˤaið&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;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʼˤœd͡ʑ&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;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtʰˤø̃ːðˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈvˤɔʃ ˈᶢǃˤũz htʷʉ̃ːpˤ ˈᶢǀʷaːʁ sʷcɛ̃p͡fˤɛːˈʁˤaið ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈqʼˤœd͡ʑ qˤɔ̃ːˈsʷøːkʼ</p>
+  <p>tḥönönð̣ ngqwœtz ngcʉnʝ ṿosh gq̣unz htwʉnʉnp̣ gcwaaqh swtjænpf̣ææqḥaið ngqwœtz ngcʉnʝ gq̣œd͡ʑ q̣ononswöögk</p>
+  <il>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈvˤɔʃ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ˈᶢǃˤũz</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>sʷcɛ̃t͡ʂ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>vˤɛːˈʁˤaið</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈqʼˤœd͡ʑ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<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>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
+            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="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>
+                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="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>
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>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="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>
                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
          </subs>
        </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>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="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>
                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
              </subs>
            </np>
          </subs>
        </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>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="be"/>
+    </vp>
    <np role="obj">
      <subs>
-        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <word gloss="COMP" posp="pp"/>
+            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <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>
-                <word gloss="COMP" posp="pp"/>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="have"/>
-                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
+                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
+            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
-        <np role="obj">
+        <np role="obj" case="ACC">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj">
              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number">
+                <np number="sing" tr="rheme" role="subj" 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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

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>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
-    <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 posp="verb" gloss="think"/>
        </vp>
-        <np role="obj" case="ACC">
+        <np role="obj" case="ACC" number="sing">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
-            <np role="obj">
+            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" 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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <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 posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
          <subs>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-              <word posp="noun" gloss="girl"/>
+            <np def="def" number="sing" tr="theme" role="subj" locus="number">
+              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" 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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <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 posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+                  <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>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <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 posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
                  <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">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </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">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </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>
    <np role="obj" case="ACC" number="sing">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
                  <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">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" person="2">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG"/>
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj" case="ACC" number="sing">
+      <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
+          <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="proclitic" gloss="active"/>
+              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+                  <thingy type="npcase.number" function="proclitic" gloss="NOM.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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
+                  <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
+                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" person="2">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG"/>
-      <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"/>
    </vp>
    <np role="obj" case="ACC" number="sing">
      <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
        <np role="obj" case="ACC" number="sing">
          <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number">
-              <word posp="pron" number="sing" gloss="3.sing"/>
+              <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <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"/>
            </vp>
            <np role="obj" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
                  <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-                  <word gloss="a" posp="det"/>
-                  <word gloss="lamb" lexposp="noun" posp="noun">
+                  <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
+                  <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
                    <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">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="proclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-                  <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"/>
                </vp>
-                <word gloss="COMP" posp="pp"/>
+                <word gloss="COMP" posp="pp" role="obj" number="sing"/>
              </subs>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
          </subs>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
      </subs>
    </np>
  </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 number="sing" def="neither" role="subj" locus="number" case="NOM" person="2">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG"/>
    <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"/>
-    </vp>
-    <np role="obj" case="ACC" number="sing">
    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-        </vp>
-        <np role="obj" case="ACC" number="sing">
    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-          <subs>
-            <np def="def" number="sing" tr="theme" role="subj" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <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"/>
-            </vp>
-            <np role="obj" number="sing">
-              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-                  <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
    <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">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-                </vp>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-              </subs>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
-      </subs>
-    </np>
-  </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>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG" ph="&#x1D4F;&#x1C3; &#x289;&#x2D0; &#x261;&#x2B2;" slots="Cip Cfp">ᵏǃʉːɡʲ</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="&#xF0; a &#x2C8; &#x3B8;&#x2E4;" slots="Cir Cfr">ðaˈθˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; a#&#x2D0; &#x2C8; f&#x2E4;" slots="Cir Cfr">ðˤa#ːˈfˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;" slots="Cir Cfr">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z" slots="Cir Cfr">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t͡ʂ/ + /vˤ/ > // + /p͡fˤ/
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG" ph="&#x1D4F;&#x1C3; &#x289;&#x2D0; &#x261;&#x2B2;" slots="Cip Cfp">ᵏǃʉːɡʲ</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="&#xF0; a &#x2C8; &#x3B8;&#x2E4;" slots="Cir Cfr">ðaˈθˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG" ph="&#x1D4F;&#x1C3; &#x289;&#x2D0; &#x261;&#x2B2;">ᵏǃʉːɡʲ</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="&#xF0; a &#x2C8; &#x3B8;&#x2E4;">ðaˈθˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; a#&#x2D0; &#x2C8; f&#x2E4;" slots="Cir Cfr">ðˤa#ːˈfˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;" slots="Cir Cfr">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; a#&#x2D0; &#x2C8; f&#x2E4;">ðˤa#ːˈfˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;" slots="Cir Cfr">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z" slots="Cir Cfr">ᶢǃˤu#ˈz</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;# t&#x361;&#x282;" slots="Cip Cir">sʷcɛ#t͡ʂ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" slots="Cir Cfr">vˤɛːʁˤaiˈð</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;" slots="Cir Cfr">qʼˤœˈd͡ʑ</word>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

removetags:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG" ph="&#x1D4F;&#x1C3; &#x289;&#x2D0; &#x261;&#x2B2;">ᵏǃʉːɡʲ</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="&#xF0; a &#x2C8; &#x3B8;&#x2E4;">ðaˈθˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; a#&#x2D0; &#x2C8; f&#x2E4;">ðˤa#ːˈfˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0;&#x2E4; &#xF8;#&#x2D0; &#x2C8; &#xF0;&#x2E4;">tʰˤø#ːˈðˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="v&#x2E4; &#x254; &#x2C8; &#x283;">vˤɔˈʃ</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="&#x1DA2;&#x1C3;&#x2E4; u# &#x2C8; z">ᶢǃˤu#ˈz</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="s&#x2B7;+c &#x25B;#" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="p&#x361;f&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="q&#x2BC;&#x2E4; &#x153; &#x2C8; d&#x361;&#x291;">qʼˤœˈd͡ʑ</word>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="subj" locus="number" case="NOM">ᵑǃʱʷøˈɟ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="Q.NEG">ᵏǃʉːɡʲ</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">ðaˈθˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">ðˤa#ːˈfˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">tʰˤø#ːˈðˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">vˤɔˈʃ</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">ᶢǃˤu#ˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM">ᶢǀʷaːˈʁ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="s&#x2B7;+c &#x25B;# t&#x361;&#x282;">sʷcɛ#</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" underlying="v&#x2E4; &#x25B;&#x2D0; &#x281;&#x2E4; ai &#x2C8; &#xF0;">p͡fˤɛːʁˤaiˈð</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">qʼˤœˈd͡ʑ</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing">qˤɔ#ːsʷøːˈkʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃʱʷøɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʉːɡʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Q.&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;ˈðaθˤ&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;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈðˤãːfˤ&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;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtʰˤø̃ːðˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvˤɔʃ&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;ˈᶢǃˤũz&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷcɛ̃t͡ʂ-&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;vˤɛːˈʁˤaið&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;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʼˤœd͡ʑ&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;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈᵑǃʱʷøɟ ᵏǃʉːɡʲ ˈðaθˤ t͡ʃʰiɴˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈðˤãːfˤ t͡ʃʰiɴˤ ˈtʰˤø̃ːðˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈvˤɔʃ ˈᶢǃˤũz htʷʉ̃ːpˤ ˈᶢǀʷaːʁ sʷcɛ̃p͡fˤɛːˈʁˤaið ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈqʼˤœd͡ʑ qˤɔ̃ːˈsʷøːkʼ qˤɔ̃ːˈsʷøːkʼ qˤɔ̃ːˈsʷøːkʼ</p>
+  <p>htwʉnʉnp̣ ngqwödy ᵏǃʉʉgi ðaþ̣ txhiqṇ ngqwœtz ngcʉnʝ ð̣ananf̣ txhiqṇ tḥönönð̣ ngqwœtz ngcʉnʝ ṿosh gq̣unz htwʉnʉnp̣ gcwaaqh swtjænpf̣ææqḥaið ngqwœtz ngcʉnʝ gq̣œd͡ʑ q̣ononswöögk q̣ononswöögk q̣ononswöögk</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǃʱʷøɟ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ᵏǃʉːɡʲ</o>
+      <g>Q.NEG</g>
+    </w>
+    <w>
+      <o>ˈðaθˤ</o>
+      <g>be</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈðˤãːfˤ</o>
+      <g>think</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈtʰˤø̃ːðˤ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈvˤɔʃ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ˈᶢǃˤũz</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>sʷcɛ̃t͡ʂ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>vˤɛːˈʁˤaið</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈqʼˤœd͡ʑ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">d͡ʑiːˈŋ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;">d͡ʑiːˈŋ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">ᵑǃʱʷøˈɟ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʑiːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃʱʷøɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǀʱʉ̃ʝ ˈd͡ʑiːŋ t͡ʃʰiɴˤ ˈᵑǃʱʷøɟ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ngcʉnʝ d͡ʑiing txhiqṇ ngqwödy</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈd͡ʑiːŋ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǃʱʷøɟ</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x28B;&#x2E4; i &#x2C8; &#x295;" slots="Cir Cfr">ʋˤiˈʕ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x1D4F;&#x1C3;&#x2E4; &#xF8;&#x2D0; &#x2C8; &#x274;&#x2E4;" slots="Cir Cfr">ᵏǃˤøːˈɴˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x28B;&#x2E4; i &#x2C8; &#x295;" slots="Cir Cfr">ʋˤiˈʕ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x1D4F;&#x1C3;&#x2E4; &#xF8;&#x2D0; &#x2C8; &#x274;&#x2E4;" slots="Cir Cfr">ᵏǃˤøːˈɴˤ</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x28B;&#x2E4; i &#x2C8; &#x295;">ʋˤiˈʕ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x1D4F;&#x1C3;&#x2E4; &#xF8;&#x2D0; &#x2C8; &#x274;&#x2E4;">ᵏǃˤøːˈɴˤ</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x28B;&#x2E4; i &#x2C8; &#x295;">ʋˤiˈʕ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x1D4F;&#x1C3;&#x2E4; &#xF8;&#x2D0; &#x2C8; &#x274;&#x2E4;">ᵏǃˤøːˈɴˤ</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">ʋˤiˈʕ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">ᵏǃˤøːˈɴˤ</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;in_surface&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;table&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈʋˤiʕ ˈᵏǃˤøːɴˤ</p>
+  <p>ẉigħ ᵏǃ̣ööqṇ</p>
+  <il>
+    <w>
+      <o>ˈʋˤiʕ</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈᵏǃˤøːɴˤ</o>
+      <g>table</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="b a &#x2C8; n" slots="Cir Cfr">baˈn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; y r&#x2B7; o#&#x2D0; &#x2C8; &#x279;&#x2E4;" slots="Cir Cfr">ᵑǃʼˤyrʷo#ːˈɹˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="b a &#x2C8; n" slots="Cir Cfr">baˈn</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; y r&#x2B7; o#&#x2D0; &#x2C8; &#x279;&#x2E4;" slots="Cir Cfr">ᵑǃʼˤyrʷo#ːˈɹˤ</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="b a &#x2C8; n">baˈn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; y r&#x2B7; o#&#x2D0; &#x2C8; &#x279;&#x2E4;">ᵑǃʼˤyrʷo#ːˈɹˤ</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="b a &#x2C8; n">baˈn</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; y r&#x2B7; o#&#x2D0; &#x2C8; &#x279;&#x2E4;">ᵑǃʼˤyrʷo#ːˈɹˤ</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">baˈn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">ᵑǃʼˤyrʷo#ːˈɹˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈban&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʼˤyˈrʷõːɹˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈban ᵑǃʼˤyˈrʷõːɹˤ</p>
+  <p>ban ᵑǃʼ̣ürrwónónɹ̣</p>
+  <il>
+    <w>
+      <o>ˈban</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>ᵑǃʼˤyˈrʷõːɹˤ</o>
+      <g>box</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;" slots="Cir Cfr">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;" slots="Cir Cfr">ðɞːʒd̪ɶ#ˈʈ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#xF0; &#x25E;&#x2D0; &#x292;+d&#x32A; &#x276;# &#x2C8; &#x288;">ðɞːʒd̪ɶ#ˈʈ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ðɞːʒd̪ɶ#ˈʈ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">qʰʷɔːˈxˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɞːˈʒd̪ɶ̃ʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ðɞːˈʒd̪ɶ̃ʈ ˈqʰʷɔːxˤ</p>
+  <p>ðɞɞzhdɶnrt qhwooxx̣</p>
+  <il>
+    <w>
+      <o>ðɞːˈʒd̪ɶ̃ʈ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;" slots="Cir Cfr">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;" slots="Cir Cfr">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;" slots="Cir Cfr">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;" slots="Cir Cfr">ðˤiˈtʼ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;">ðˤiˈtʼ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC">tʰˤɶ#ðaˈz</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʰʷoˈsˤqˤyːŋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈðˤitʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰˤɶ̃ˈðaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ᵏǃʰʷoˈsˤqˤyːŋˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈðˤitʼ t͡ʃʰiɴˤ tʰˤɶ̃ˈðaz</p>
+  <p>htwʉnʉnp̣ qhwóṣq̣üüng̣ ngqwœtz ngcʉnʝ ð̣idt txhiqṇ tḥɶnðaz</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ᵏǃʰʷoˈsˤqˤyːŋˤ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈðˤitʼ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>tʰˤɶ̃ˈðaz</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;" slots="Cir Cfr">tʼˤʉn̪ʷɵˈwˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ɮɶˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;" slots="Cir Cfr">ᵑǃˤi#ˈmˤ</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+k&#x2B2; &#x25E;# &#x2C8; &#x282;" slots="Cir Cfr">skʲɞ#ˈʂ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;" slots="Cir Cfr">tʼˤʉn̪ʷɵˈwˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;">tʼˤʉn̪ʷɵˈwˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ɮɶˈt̪ˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;" slots="Cir Cfr">ᵑǃˤi#ˈmˤ</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+k&#x2B2; &#x25E;# &#x2C8; &#x282;" slots="Cir Cfr">skʲɞ#ˈʂ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;">ɮɶˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;">ᵑǃˤi#ˈmˤ</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+k&#x2B2; &#x25E;# &#x2C8; &#x282;">skʲɞ#ˈʂ</word>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;">tʼˤʉn̪ʷɵˈwˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;">ɮɶˈt̪ˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D51;&#x1C3;&#x2E4; i# &#x2C8; m&#x2E4;">ᵑǃˤi#ˈmˤ</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+k&#x2B2; &#x25E;# &#x2C8; &#x282;">skʲɞ#ˈʂ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM">tʼˤʉn̪ʷɵˈwˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ɮɶˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">tʰˤɶ#ðaˈz</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">ᵑǃˤi#ˈmˤ</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC">skʲɞ#ˈʂ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤʉˈn̪ʷɵwˤ&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;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɮɶt̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰˤɶ̃ˈðaz&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;ˈᵑǃˤĩmˤ&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;ˈskʲɞ̃ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ tʼˤʉˈn̪ʷɵwˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈɮɶt̪ˤ t͡ʃʰiɴˤ tʰˤɶ̃ˈðaz ˈᵑǃˤĩmˤ ˈskʲɞ̃ʂ</p>
+  <p>htwʉnʉnp̣ dṭʉnwɵwẉ ngqwœtz ngcʉnʝ hlɶṭ txhiqṇ tḥɶnðaz nq̣inṃ skiɞnrs</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>tʼˤʉˈn̪ʷɵwˤ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈɮɶt̪ˤ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>tʰˤɶ̃ˈðaz</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈᵑǃˤĩmˤ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ˈskʲɞ̃ʂ</o>
+      <g>dog</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;" slots="Cir Cfr">sˤkʷɞ#ˈrˤ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D4F;&#x1C3;&#x2B7; &#x289; &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">ᵏǃʷʉˈt͡sˤ</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i&#x2D0; b&#x2B1; &#x25B;&#x2D0; r" slots="C C">liːbʱɛːr</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;" slots="Cir Cfr">sˤkʷɞ#ˈrˤ</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D4F;&#x1C3;&#x2B7; &#x289; &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">ᵏǃʷʉˈt͡sˤ</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i&#x2D0; b&#x2B1; &#x25B;&#x2D0; r" slots="C C">liːbʱɛːr</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;">sˤkʷɞ#ˈrˤ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D4F;&#x1C3;&#x2B7; &#x289; &#x2C8; t&#x361;s&#x2E4;">ᵏǃʷʉˈt͡sˤ</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i&#x2D0; b&#x2B1; &#x25B;&#x2D0; r">liːbʱɛːr</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s&#x2E4;+k&#x2B7; &#x25E;# &#x2C8; r&#x2E4;">sˤkʷɞ#ˈrˤ</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x1D4F;&#x1C3;&#x2B7; &#x289; &#x2C8; t&#x361;s&#x2E4;">ᵏǃʷʉˈt͡sˤ</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i&#x2D0; b&#x2B1; &#x25B;&#x2D0; r">liːbʱɛːr</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">ᵑǃʱʷøˈɟ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">sˤkʷɞ#ˈrˤ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">ᵏǃʷʉˈt͡sˤ</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM">liːbʱɛːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃʱʷøɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsˤkʷɞ̃rˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵏǃʷʉt͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liːbʱɛːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈᵑǃʱʷøɟ ˈsˤkʷɞ̃rˤ ˈᵏǃʷʉt͡sˤ liːbʱɛːr</p>
+  <p>htwʉnʉnp̣ ngqwödy ṣquɞnrṛ ᵏǃwʉtẓ liibhæærr</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǃʱʷøɟ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈsˤkʷɞ̃rˤ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ˈᵏǃʷʉt͡sˤ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>liːbʱɛːr</o>
+      <g>book</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x257;&#x2E4; &#x153;# &#x2C8; r&#x2E4;" slots="Cir Cfr">ɗˤœ#ˈrˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x257;&#x2E4; &#x153;# &#x2C8; r&#x2E4;" slots="Cir Cfr">ɗˤœ#ˈrˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x257;&#x2E4; &#x153;# &#x2C8; r&#x2E4;">ɗˤœ#ˈrˤ</word>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x257;&#x2E4; &#x153;# &#x2C8; r&#x2E4;">ɗˤœ#ˈrˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ʂu#ˈɹ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">ɗˤœ#ˈrˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʂũɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;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;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɗˤœ̃rˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈʂũɹ ᵑǀʱʉ̃ʝ ˈɗˤœ̃rˤ</p>
+  <p>htwʉnʉnp̣ rsunɹ ngcʉnʝ dḍœnrṛ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈɗˤœ̃rˤ</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 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">
      <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">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="b&#x2E4; ai &#x2C8; z&#x2E4;" slots="Cir Cfr">bˤaiˈzˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="b&#x2E4; ai &#x2C8; z&#x2E4;" slots="Cir Cfr">bˤaiˈzˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="b&#x2E4; ai &#x2C8; z&#x2E4;">bˤaiˈzˤ</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="b&#x2E4; ai &#x2C8; z&#x2E4;">bˤaiˈzˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ʂu#ˈɹ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">bˤaiˈzˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʂũɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;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;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbˤaizˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈʂũɹ ᵑǀʱʉ̃ʝ ˈbˤaizˤ</p>
+  <p>htwʉnʉnp̣ rsunɹ ngcʉnʝ ḅaiẓ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈbˤaizˤ</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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 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">
      <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">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <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>

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">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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>
    </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">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="k&#x361;x i#&#x2D0; &#x1D51;&#x1C3;&#x2B7;" slots="Cip Cir">k͡xi#ːᵑǃʷ</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ᵑǃʷ/ + /q͡χʷ/ > // + /qʷ/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="k&#x361;x i#&#x2D0; &#x1D51;&#x1C3;&#x2B7;" slots="Cip Cir">k͡xi#ːᵑǃʷ</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="k&#x361;x i#&#x2D0;" underlying="k&#x361;x i#&#x2D0; &#x1D51;&#x1C3;&#x2B7;">k͡xi#ː</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="q&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" underlying="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">qʷʉxʷɵːˈd͡ʐ</word>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="k&#x361;x i#&#x2D0;" underlying="k&#x361;x i#&#x2D0; &#x1D51;&#x1C3;&#x2B7;">k͡xi#ː</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="q&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" underlying="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">qʷʉxʷɵːˈd͡ʐ</word>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ʂu#ˈɹ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" underlying="k&#x361;x i#&#x2D0; &#x1D51;&#x1C3;&#x2B7;">k͡xi#ː</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" underlying="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">qʷʉxʷɵːˈd͡ʐ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʂũɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;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;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xĩːᵑǃʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q͡χʷʉˈxʷɵːd͡ʐ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈʂũɹ ᵑǀʱʉ̃ʝ k͡xĩːqʷʉˈxʷɵːd͡ʐ</p>
+  <p>htwʉnʉnp̣ rsunɹ ngcʉnʝ kkhininqwʉkhwɵɵd͡ʐ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>k͡xĩːᵑǃʷ-</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ʂu#ˈɹ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʂũɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃij&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q͡χʷʉˈxʷɵːd͡ʐ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈʂũɹ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǃij t͡ʃʰiɴˤ q͡χʷʉˈxʷɵːd͡ʐ</p>
+  <p>htwʉnʉnp̣ rsunɹ ngqwœtz ngcʉnʝ nqiy txhiqṇ qqhwʉkhwɵɵd͡ʐ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǃij</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module 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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC">
+    <np role="obj" tr="rheme" case="ACC" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;" slots="Cir Cfr">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;" slots="Cip Cfp">qʰʷo#n̪</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;" slots="Cir Cfr">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;" slots="Cir Cfr">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; &#x289; s&#x2E4;+t&#x32A;&#x2B7; a &#x2C8; l&#x2B2;" slots="Cir Cfr">ᵏǃʰˤʉsˤt̪ʷaˈlʲ</word>
+    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;" slots="Cir Cfr">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;" slots="Cir Cfr">tʼˤʉn̪ʷɵˈwˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z" slots="Cir Cfr">tʰˤɶ#ðaˈz</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;" slots="Cir Cfr">ðˤiˈtʼ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;" slots="Cip Cfp">qʰʷo#n̪</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;" slots="Cir Cfr">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
-    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;" slots="Cir Cfr">θɔ#ˈbʱ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; &#x289; s&#x2E4;+t&#x32A;&#x2B7; a &#x2C8; l&#x2B2;" slots="Cir Cfr">ᵏǃʰˤʉsˤt̪ʷaˈlʲ</word>
-    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;" slots="Cir Cfr">θɔ#ˈbʱ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;" slots="Cir Cfr">tʼˤʉn̪ʷɵˈwˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;">qʰʷo#n̪</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; &#x289; s&#x2E4;+t&#x32A;&#x2B7; a &#x2C8; l&#x2B2;">ᵏǃʰˤʉsˤt̪ʷaˈlʲ</word>
+    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;">tʼˤʉn̪ʷɵˈwˤ</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x2B0;&#x2E4; &#x276;# &#xF0; a &#x2C8; z">tʰˤɶ#ðaˈz</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#xF0;&#x2E4; i &#x2C8; t&#x2BC;">ðˤiˈtʼ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur" ph="q&#x2B0;&#x2B7; o# n&#x32A;">qʰʷo#n̪</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2B7; o s&#x2E4;+q&#x2E4; y&#x2D0; &#x2C8; &#x14B;&#x2E4;">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
-    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;">θɔ#ˈbʱ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; &#x289; s&#x2E4;+t&#x32A;&#x2B7; a &#x2C8; l&#x2B2;">ᵏǃʰˤʉsˤt̪ʷaˈlʲ</word>
-    <word posp="conj" gloss="and" ph="&#x3B8; &#x254;# &#x2C8; b&#x2B1;">θɔ#ˈbʱ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x2BC;&#x2E4; &#x289; n&#x32A;&#x2B7; &#x275; &#x2C8; w&#x2E4;">tʼˤʉn̪ʷɵˈwˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">tʰˤɶ#ðaˈz</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ðˤiˈtʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.plur">qʰʷo#n̪</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">ᵏǃʰʷosˤqˤyːˈŋˤ</word>
+    <word posp="conj" gloss="and">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">ᵏǃʰˤʉsˤt̪ʷaˈlʲ</word>
+    <word posp="conj" gloss="and">θɔ#ˈbʱ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">tʼˤʉn̪ʷɵˈwˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰˤɶ̃ˈðaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈðˤitʼ&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;qʰʷõn̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʰʷoˈsˤqˤyːŋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθɔ̃bʱ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʰˤʉˈsˤt̪ʷalʲ&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;ˈθɔ̃bʱ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤʉˈn̪ʷɵwˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ tʰˤɶ̃ˈðaz ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈðˤitʼ qʰʷõn̪ ᵏǃʰʷoˈsˤqˤyːŋˤ ˈθɔ̃bʱ ᵏǃʰˤʉˈsˤt̪ʷalʲ ˈθɔ̃bʱ tʼˤʉˈn̪ʷɵwˤ</p>
+  <p>htwʉnʉnp̣ tḥɶnðaz ngqwœtz ngcʉnʝ ð̣idt qhwónn qhwóṣq̣üüng̣ þonbh qḥʉṣtwali þonbh dṭʉnwɵwẉ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>tʰˤɶ̃ˈðaz</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈðˤitʼ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>qʰʷõn̪</o>
+      <g>ACC.plur</g>
+    </w>
+    <w>
+      <o>ᵏǃʰʷoˈsˤqˤyːŋˤ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ˈθɔ̃bʱ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ᵏǃʰˤʉˈsˤt̪ʷalʲ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ˈθɔ̃bʱ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>tʼˤʉˈn̪ʷɵwˤ</o>
+      <g>lion</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">zˤbaqʼˤy#ːˈɟ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">ʂu#ˈɹ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤbaˈqʼˤỹːɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʂũɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ zˤbaˈqʼˤỹːɟ t͡ʃʰiɴˤ ˈʂũɹ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ngqwœtz ngcʉnʝ ẓbagq̣ünündy txhiqṇ rsunɹ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>zˤbaˈqʼˤỹːɟ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="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 sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="pat"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number">
+        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
+    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
+          <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" number="sing">
+    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <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"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC">
    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ʂu#ˈɹ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ᵑǃiˈj</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after">q͡χʷʉxʷɵːˈd͡ʐ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤbaˈqʼˤỹːɟ&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;ˈʂũɹ&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃij&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q͡χʷʉˈxʷɵːd͡ʐ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ zˤbaˈqʼˤỹːɟ ˈʂũɹ, htʷʉ̃ːpˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǃij t͡ʃʰiɴˤ q͡χʷʉˈxʷɵːd͡ʐ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ngqwœtz ngcʉnʝ ẓbagq̣ünündy rsunɹ, htwʉnʉnp̣ ᵑǂɞcʼ ngqwœtz ngcʉnʝ nqiy txhiqṇ qqhwʉkhwɵɵd͡ʐ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>zˤbaˈqʼˤỹːɟ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǃij</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</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 NRel:

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="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 sentenceconnectors:

No change.

module complementise:

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 id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <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>
          </relp>
        </np>
      </relp>
    </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 id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <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>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" person="1excl">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="proclitic" gloss="active"/>
+              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <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>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<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" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" number="sing">
+    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" number="sing">
+        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <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>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <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" subj="3.sing">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<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" person="1excl">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-        </vp>
-        <np id="parent" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <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" subj="3.sing" comma="after"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-              </word>
-            </vp>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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" subj="3.sing" comma="after"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x282; u &#x3C7;&#x2B7;" slots="Cip Cir">ʂuχʷ</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;" slots="Cir Cfr">tʼʷᵊʃtʲyːˈrˤ</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /tʼʷ/ > /χʷ/ + /tʼʷ/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x282; u &#x3C7;&#x2B7;" slots="Cip Cir">ʂuχʷ</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;" slots="Cir Cfr">tʼʷᵊʃtʲyːˈrˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x282; u &#x3C7;&#x2B7;">ʂuχʷ</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;">tʼʷᵊʃtʲyːˈrˤ</word>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x282; u &#x3C7;&#x2B7;">ʂuχʷ</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;">tʼʷᵊʃtʲyːˈrˤ</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ʂu#ˈɹ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">q͡χʷʉxʷɵːˈd͡ʐ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb">ʂuχʷ</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after">tʼʷᵊʃtʲyːˈrˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤbaˈqʼˤỹːɟ&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;ˈʂũɹ&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃij&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;q͡χʷʉˈxʷɵː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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂuχʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼʷᵊˈʃtʲyːrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ zˤbaˈqʼˤỹːɟ ˈʂũɹ, htʷʉ̃ːpˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǃij q͡χʷʉˈxʷɵːd͡ʐ, htʷʉ̃ːpˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ʂuχʷtʼʷᵊˈʃtʲyːrˤ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ngqwœtz ngcʉnʝ ẓbagq̣ünündy rsunɹ, htwʉnʉnp̣ ᵑǂɞcʼ ngqwœtz ngcʉnʝ nqiy qqhwʉkhwɵɵd͡ʐ, htwʉnʉnp̣ ᵑǂɞcʼ ngqwœtz ngcʉnʝ rsuchwdtwshtiüürṛ</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>zˤbaˈqʼˤỹːɟ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǃij</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ʂuχʷ-</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tʼʷᵊˈʃtʲyːrˤ</o>
+      <g>cheese</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 NRel:

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
-              <word posp="noun" gloss="mouse"/>
+            <np id="parent">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+                <word posp="noun" gloss="cheese"/>
              </np>
-            <np role="obj">
-              <relp>
+              <relp comma="after">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                  <word posp="pron" gloss="RELPRON"/>
+                </np>
                <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 sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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">
+                <np number="sing" def="neither" role="subj" locus="number" case="NOM">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
+    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent">
+        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent">
+            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="proclitic" gloss="active"/>
+              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
+                  <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
+                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
+                  <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
+                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+                  <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<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" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" number="sing">
+    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" number="sing">
+        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent" number="sing">
+            <np id="parent" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="proclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
                  <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpmode" function="proclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <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"/>
            </vp>
            <np id="parent" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="proclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-                  <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" obj="3.sing" subj="1excl.sing"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
                  <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-        </vp>
-        <np id="parent" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-            </vp>
-            <np id="parent" number="sing" case="NOM">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ɮɶˈt̪ˤ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;" slots="Cir Cfr">tʼʷᵊʃtʲyːˈrˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x257; &#x254; &#x2C8; d&#x361;z&#x2E4;" slots="Cir Cfr">ɗɔˈd͡zˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;" slots="Cir Cfr">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;" slots="Cir Cfr">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j" slots="Cir Cfr">ᵑǃiˈj</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;" slots="Cir Cfr">q͡χʷʉxʷɵːˈd͡ʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ɮɶˈt̪ˤ</word>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;" slots="Cir Cfr">tʼʷᵊʃtʲyːˈrˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;" slots="Cir Cfr">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;">ɮɶˈt̪ˤ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;">tʼʷᵊʃtʲyːˈrˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x257; &#x254; &#x2C8; d&#x361;z&#x2E4;" slots="Cir Cfr">ɗɔˈd͡zˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x257; &#x254; &#x2C8; d&#x361;z&#x2E4;">ɗɔˈd͡zˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="z&#x2E4;+b a q&#x2BC;&#x2E4; y#&#x2D0; &#x2C8; &#x25F;">zˤbaqʼˤy#ːˈɟ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x282; u# &#x2C8; &#x279;">ʂu#ˈɹ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x1D51;&#x1C3; i &#x2C8; j">ᵑǃiˈj</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="q&#x361;&#x3C7;&#x2B7; &#x289; x&#x2B7; &#x275;&#x2D0; &#x2C8; d&#x361;&#x290;">q͡χʷʉxʷɵːˈd͡ʐ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x26E; &#x276; &#x2C8; t&#x32A;&#x2E4;">ɮɶˈt̪ˤ</word>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x2BC;&#x2B7; &#x1D4A; &#x283;+t&#x2B2; y&#x2D0; &#x2C8; r&#x2E4;">tʼʷᵊʃtʲyːˈrˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x1D51;&#x1C2; &#x25E; &#x2C8; c&#x2BC;">ᵑǂɞˈcʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x257; &#x254; &#x2C8; d&#x361;z&#x2E4;">ɗɔˈd͡zˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">zˤbaqʼˤy#ːˈɟ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ʂu#ˈɹ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ᵑǃiˈj</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">q͡χʷʉxʷɵːˈd͡ʐ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ɮɶˈt̪ˤ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp">tʼʷᵊʃtʲyːˈrˤ,</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">ᵑǂɞˈcʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ɗɔˈd͡zˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after">qʰʷɔːˈxˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤbaˈqʼˤỹːɟ&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;ˈʂũɹ&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃij&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;q͡χʷʉˈxʷɵː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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɮɶt̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼʷᵊˈʃtʲyːrˤ&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;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&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;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɗɔd͡zˤ&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;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ zˤbaˈqʼˤỹːɟ ˈʂũɹ, htʷʉ̃ːpˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǃij q͡χʷʉˈxʷɵːd͡ʐ, htʷʉ̃ːpˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈɮɶt̪ˤ tʼʷᵊˈʃtʲyːrˤ, t͡ʃʰiɴˤ ˈᵑǂɞcʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈɗɔd͡zˤ htʷʉ̃ːpˤ ˈqʰʷɔːxˤ</p>
+  <p>htwʉnʉnp̣ qhwooxx̣ ngqwœtz ngcʉnʝ ẓbagq̣ünündy rsunɹ, htwʉnʉnp̣ ᵑǂɞcʼ ngqwœtz ngcʉnʝ nqiy qqhwʉkhwɵɵd͡ʐ, htwʉnʉnp̣ ᵑǂɞcʼ ngqwœtz ngcʉnʝ hlɶṭ dtwshtiüürṛ, txhiqṇ ᵑǂɞcʼ ngqwœtz ngcʉnʝ ddodẓ htwʉnʉnp̣ qhwooxx̣</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>zˤbaˈqʼˤỹːɟ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈʂũɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǃij</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>q͡χʷʉˈxʷɵːd͡ʐ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈɮɶt̪ˤ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tʼʷᵊˈʃtʲyːrˤ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǂɞcʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈɗɔd͡zˤ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x263; &#x25E; &#x2C8; &#xF0;" slots="Cir Cfr">ɣɞˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="p&#x2BC; e#&#x2D0; l&#x2B2; &#x1D4A; &#x2C8; &#x26C;" slots="Cir Cfr">pʼe#ːlʲᵊˈɬ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x260; i&#x2D0; t &#x25B;&#x2D0; r" slots="C C">ɠiːtɛːr</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x263; &#x25E; &#x2C8; &#xF0;" slots="Cir Cfr">ɣɞˈð</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;" slots="Cir Cfr">ᶢǀʷaːˈʁ</word>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;" slots="Cir Cfr">kˤiːk͡xˤɶˈʁ</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x263; &#x25E; &#x2C8; &#xF0;">ɣɞˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="p&#x2BC; e#&#x2D0; l&#x2B2; &#x1D4A; &#x2C8; &#x26C;" slots="Cir Cfr">pʼe#ːlʲᵊˈɬ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x260; i&#x2D0; t &#x25B;&#x2D0; r" slots="C C">ɠiːtɛːr</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="p&#x2BC; e#&#x2D0; l&#x2B2; &#x1D4A; &#x2C8; &#x26C;">pʼe#ːlʲᵊˈɬ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x260; i&#x2D0; t &#x25B;&#x2D0; r">ɠiːtɛːr</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x263; &#x25E; &#x2C8; &#xF0;">ɣɞˈð</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">zʷɡʲoˈbˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="&#x1DA2;&#x1C0;&#x2B7; a&#x2D0; &#x2C8; &#x281;">ᶢǀʷaːˈʁ</word>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2E4; i&#x2D0; k&#x361;x&#x2E4; &#x276; &#x2C8; &#x281;">kˤiːk͡xˤɶˈʁ</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="p&#x2BC; e#&#x2D0; l&#x2B2; &#x1D4A; &#x2C8; &#x26C;">pʼe#ːlʲᵊˈɬ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x260; i&#x2D0; t &#x25B;&#x2D0; r">ɠiːtɛːr</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">ɣɞˈð</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC">ᶢǀʷaːˈʁ</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC">kˤiːk͡xˤɶˈʁ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">pʼe#ːlʲᵊˈɬ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">ɠiːtɛːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̥yfˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɣɞð&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;htˤɔːt͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzʷɡʲobˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᶢǀʷaːʁ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kˤiːˈk͡xˤɶʁ&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;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼẽːˈlʲᵊɬ&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;htˤɔːt͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɠiːtɛːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ htʷʉ̃ːpˤ ˈn̥yfˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈɣɞð htˤɔːt͡sˤ ˈzʷɡʲobˤ t͡ʃʰiɴˤ ˈᶢǀʷaːʁ kˤiːˈk͡xˤɶʁ qˤɔ̃ːˈsʷøːkʼ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ pʼẽːˈlʲᵊɬ htˤɔːt͡sˤ ɠiːtɛːr</p>
+  <p>htwʉnʉnp̣ htwʉnʉnp̣ nhüf̣ ngqwœtz ngcʉnʝ ğɞð hṭootẓ zwgióḅ txhiqṇ gcwaaqh ḳiikkḥɶqh q̣ononswöögk ngqwœtz ngcʉnʝ bpenenlihl hṭootẓ ggiitæærr</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈn̥yfˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈɣɞð</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>htˤɔːt͡sˤ</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>ˈzʷɡʲobˤ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᶢǀʷaːʁ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>kˤiːˈk͡xˤɶʁ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʼẽːˈlʲᵊɬ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>htˤɔːt͡sˤ</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>ɠiːtɛːr</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <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="npcase.number" function="proclitic" gloss="ACC.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl"/>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C0; &#x276;&#x2D0; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ᵑǀɶːˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;" slots="Cir Cfr">n̥yˈfˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s" slots="Cip Cfp">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C0; &#x276;&#x2D0; &#x2C8; t&#x32A;&#x2E4;" slots="Cir Cfr">ᵑǀɶːˈt̪ˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;" slots="Cip Cfp">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;" slots="Cir Cfr">zʷɡʲoˈbˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;" slots="Cip Cfp">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;" slots="Cir Cfr">qʰʷɔːˈxˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C0; &#x276;&#x2D0; &#x2C8; t&#x32A;&#x2E4;">ᵑǀɶːˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;" slots="Cip Cfp">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;" slots="Cir Cfr">d͡ʑiːˈŋ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;" slots="Cip Cfp">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;" slots="Cir Cfr">ᵑǃʱʷøˈɟ</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;" slots="Cir Cfr">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n&#x325; y &#x2C8; f&#x2E4;">n̥yˈfˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#x153; t&#x361;s">ᵑǃʱʷœt͡s</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</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="&#x1D51;&#x1C0; &#x276;&#x2D0; &#x2C8; t&#x32A;&#x2E4;">ᵑǀɶːˈt̪ˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="ht&#x2E4; &#x254;&#x2D0; t&#x361;s&#x2E4;">htˤɔːt͡sˤ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="z&#x2B7;+&#x261;&#x2B2; o &#x2C8; b&#x2E4;">zʷɡʲoˈbˤ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing" ph="ht&#x2B7; &#x289;#&#x2D0; p&#x2E4;">htʷʉ#ːpˤ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="q&#x2B0;&#x2B7; &#x254;&#x2D0; &#x2C8; x&#x2E4;">qʰʷɔːˈxˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="&#x1D51;&#x1C0;&#x2B1; &#x289;# &#x29D;">ᵑǀʱʉ#ʝ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; &#x14B;">d͡ʑiːˈŋ</word>
-    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing" ph="t&#x361;&#x283;&#x2B0; i &#x274;&#x2E4;">t͡ʃʰiɴˤ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#x1D51;&#x1C3;&#x2B1;&#x2B7; &#xF8; &#x2C8; &#x25F;">ᵑǃʱʷøˈɟ</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="q&#x2E4; &#x254;#&#x2D0; s&#x2B7; &#xF8;&#x2D0; &#x2C8; k&#x2BC;">qˤɔ#ːsʷøːˈkʼ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">n̥yˈfˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">ᵑǃʱʷœt͡s</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">ᵑǀɶːˈt̪ˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">htˤɔːt͡sˤ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">zʷɡʲoˈbˤ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="NOM.sing">htʷʉ#ːpˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">qʰʷɔːˈxˤ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">ᵑǀʱʉ#ʝ</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">d͡ʑiːˈŋ</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACC.sing">t͡ʃʰiɴˤ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">ᵑǃʱʷøˈɟ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl">qˤɔ#ːsʷøːˈkʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̥yfˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃʱʷœt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǀɶːt̪ˤ&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;htˤɔːt͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzʷɡʲobˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷʉ̃ːpˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʰʷɔːxˤ&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;ᵑǀʱʉ̃ʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʑiːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʰiɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈᵑǃʱʷøɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qˤɔ̃ːˈsʷøːkʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>htʷʉ̃ːpˤ ˈn̥yfˤ ᵑǃʱʷœt͡s ᵑǀʱʉ̃ʝ ˈᵑǀɶːt̪ˤ htˤɔːt͡sˤ ˈzʷɡʲobˤ t͡ʃʰiɴˤ htʷʉ̃ːpˤ ˈqʰʷɔːxˤ ᵑǀʱʉ̃ʝ ˈd͡ʑiːŋ t͡ʃʰiɴˤ ˈᵑǃʱʷøɟ qˤɔ̃ːˈsʷøːkʼ</p>
+  <p>htwʉnʉnp̣ nhüf̣ ngqwœtz ngcʉnʝ ncɶɶṭ hṭootẓ zwgióḅ txhiqṇ htwʉnʉnp̣ qhwooxx̣ ngcʉnʝ d͡ʑiing txhiqṇ ngqwödy q̣ononswöögk</p>
+  <il>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈn̥yfˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ᵑǃʱʷœt͡s</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈᵑǀɶːt̪ˤ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>htˤɔːt͡sˤ</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>ˈzʷɡʲobˤ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>htʷʉ̃ːpˤ</o>
+      <g>NOM.sing</g>
+    </w>
+    <w>
+      <o>ˈqʰʷɔːxˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǀʱʉ̃ʝ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ˈd͡ʑiːŋ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>t͡ʃʰiɴˤ</o>
+      <g>ACC.sing</g>
+    </w>
+    <w>
+      <o>ˈᵑǃʱʷøɟ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>qˤɔ̃ːˈsʷøːkʼ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>