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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

module wordorder:

No change.

module wordorder:

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

module 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" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
    <np role="obj" def="def" tr="rheme" locus="number">
      <word posp="det" gloss="yon"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="num" gloss="three"/>
    </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" obj="3">
      <word posp="verb" gloss="catch"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for yon/det/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/subj/obligatory
Got 3
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" def="def" locus="number">
      <word posp="noun" gloss="woman" role="subj" def="def" locus="number"/>
      <pp role="comitative">
        <np def="def" locus="number">
          <word posp="noun" gloss="knife" def="def" locus="number"/>
        </np>
        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
    <np role="obj" def="def" tr="rheme" locus="number">
      <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number"/>
+      <thingy type="detcase" function="suffix" gloss="NOM"/>
      <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number"/>
      <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number"/>
-    <word posp="noun" gloss="knife" def="def" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number"/>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" ph="&#x14B; au t" slots="Cir Cfr">ŋaut</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" ph="p&#x2B0; e&#x2D0; x" slots="Cir Cfr">pʰeːx</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k" slots="Cir Cfr">pʰaŋaik</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" ph="s i" slots="Cir V1">si</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" ph="&#x261; i z" slots="Cir Cfr">ɡiz</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" ph="k&#x2B0; a t" slots="Cir Cfr">kʰat</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/i/ + /iː/ > // + /i/
/m/ + /x/ > // + /ŋ/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" ph="&#x14B; au t" slots="Cir Cfr">ŋaut</word>
-    <word posp="noun" gloss="knife" def="def" locus="number" ph="p&#x2B0; e&#x2D0; x" slots="Cir Cfr">pʰeːx</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k" slots="Cir Cfr">pʰaŋaik</word>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" ph="s i" slots="Cir V1">si</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" ph="&#x261; i z" slots="Cir Cfr">ɡiz</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" ph="k&#x2B0; a t" slots="Cir Cfr">kʰat</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" ph="&#x14B; au t">ŋaut</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" ph="p&#x2B0; e&#x2D0; x">pʰeːx</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k">pʰaŋaik</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" ph="s" underlying="s i">s</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i d" underlying="i&#x2D0; d">id</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" ph="&#x261; i z">ɡiz</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" ph="x u p i l">xupil</word>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" ph="k&#x2B0; a t">kʰat</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" ph="&#x14B; au t">ŋaut</word>
-    <word posp="noun" gloss="knife" def="def" locus="number" ph="p&#x2B0; e&#x2D0; x">pʰeːx</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k">pʰaŋaik</word>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" ph="s" underlying="s i">s</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i d" underlying="i&#x2D0; d">id</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" ph="&#x261; i z">ɡiz</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" ph="x u p i l">xupil</word>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" ph="k&#x2B0; a t">kʰat</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number">ŋaut</word>
+    <word posp="noun" gloss="knife" def="def" locus="number">pʰeːx</word>
+    <word gloss="COMIT" posp="pp" role="comitative">pʰaŋaik</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" underlying="s i">s</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">id</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number">ɡiz</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number">xupil</word>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number">kʰat</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaut&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;pʰeːx&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;pʰaŋaik&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;si&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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiz&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;xupil&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰat&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;ɡam&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋaut pʰeːx pʰaŋaik sid ɡiz xupil kʰat ɡaŋiw mok xaz</p>
+  <p>ӈаўт ԥеех ԥаӈайк сид гиз хупил қат гаӈив мок хаз</p>
+  <il>
+    <w>
+      <o>ŋaut</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>pʰeːx</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>pʰaŋaik</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>si</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡiz</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>xupil</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>kʰat</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ɡam</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for love/verb/subj/obligatory
Got 3
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np def="def" tr="theme" role="obj" locus="number">
      <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="k i s" slots="Cir Cmr">kis</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s/ + /x/ > // + /x/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="k i s" slots="Cir Cmr">kis</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="k i" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="k i" underlying="k i s">ki</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number">leb</word>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="obj" locus="number">leb</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ">xiw</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kis&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb leb kixiw xaz</p>
+  <p>леб леб кихив хаз</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>kis</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Khiber hates Kotoq.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="Khiber" def="def" tr="theme" role="subj" locus="number" propernoun="yes" ph="x i b e r" slots="Cir Cfr">xiber</word>
+    <word posp="noun" gloss="Kotoq" def="def" tr="rheme" role="obj" locus="number" propernoun="yes" ph="k&#x2B0; o &#x288;&#x2B0; o q" slots="Cir Cfr">kʰoʈʰoq</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="p u x u w" slots="Cir Cmr">puxuw</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/w/ + /x/ > // + /ɡ/
<example id="loveprop" translation="Khiber hates Kotoq.">
  <flat>
-    <word posp="noun" gloss="Khiber" def="def" tr="theme" role="subj" locus="number" propernoun="yes" ph="x i b e r" slots="Cir Cfr">xiber</word>
-    <word posp="noun" gloss="Kotoq" def="def" tr="rheme" role="obj" locus="number" propernoun="yes" ph="k&#x2B0; o &#x288;&#x2B0; o q" slots="Cir Cfr">kʰoʈʰoq</word>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="p u x u w" slots="Cir Cmr">puxuw</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="noun" gloss="Khiber" def="def" tr="theme" role="subj" locus="number" propernoun="yes" ph="x i b e r">xiber</word>
+    <word posp="noun" gloss="Kotoq" def="def" tr="rheme" role="obj" locus="number" propernoun="yes" ph="k&#x2B0; o &#x288;&#x2B0; o q">kʰoʈʰoq</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="p u x u" underlying="p u x u w">puxu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Khiber hates Kotoq.">
  <flat>
-    <word posp="noun" gloss="Khiber" def="def" tr="theme" role="subj" locus="number" propernoun="yes" ph="x i b e r">xiber</word>
-    <word posp="noun" gloss="Kotoq" def="def" tr="rheme" role="obj" locus="number" propernoun="yes" ph="k&#x2B0; o &#x288;&#x2B0; o q">kʰoʈʰoq</word>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="p u x u" underlying="p u x u w">puxu</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="Khiber" def="def" tr="theme" role="subj" locus="number" propernoun="yes">xiber</word>
+    <word posp="noun" gloss="Kotoq" def="def" tr="rheme" role="obj" locus="number" propernoun="yes">kʰoʈʰoq</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" underlying="p u x u w">puxu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ɡiw</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xiber&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Khiber&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰoʈʰoq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kotoq&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puxuw&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xiber kʰoʈʰoq puxuɡiw xaz</p>
+  <p>Хибер Қоҭ̇оԟ пухугив хаз</p>
+  <il>
+    <w>
+      <o>xiber</o>
+      <g>Khiber</g>
+    </w>
+    <w>
+      <o>kʰoʈʰoq</o>
+      <g>Kotoq</g>
+    </w>
+    <w>
+      <o>puxuw</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned"/>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="k u &#x261;">kuɡ</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="k u &#x261;">kuɡ</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN">kuɡ</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned">ɡisʈem</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&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;ɡisʈem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kuɡ ɡisʈem</p>
+  <p>куг гист̇ем</p>
+  <il>
+    <w>
+      <o>kuɡ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ɡisʈem</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned"/>
+    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
+    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="l e b">leb</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="l e b">leb</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
+    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN">leb</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned">ɡisʈem</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡisʈem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb ɡisʈem</p>
+  <p>леб гист̇ем</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ɡisʈem</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN">pʰoːr</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned">ɡisʈem</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡisʈem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰoːr ɡisʈem</p>
+  <p>ԥоор гист̇ем</p>
+  <il>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ɡisʈem</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned"/>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" ph="&#x14B; i z" slots="Cir Cfr">ŋiz</word>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="k&#x2B0; i &#x261; au r" slots="Cir Cfr">kʰiɡaur</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" ph="s i p" slots="Cir Cfr">sip</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t o s+p i z" slots="Cir Cmr">tospiz</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/z/ + /x/ > // + /x/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" ph="&#x14B; i z" slots="Cir Cfr">ŋiz</word>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="k&#x2B0; i &#x261; au r" slots="Cir Cfr">kʰiɡaur</word>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" ph="s i p" slots="Cir Cfr">sip</word>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t o s+p i z" slots="Cir Cmr">tospiz</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" ph="&#x14B; i z">ŋiz</word>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;">ɡiŋ</word>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="k&#x2B0; i &#x261; au r">kʰiɡaur</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" ph="s i p">sip</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t o s+p i" underlying="t o s+p i z">tospi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" ph="&#x14B; i z">ŋiz</word>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;">ɡiŋ</word>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="k&#x2B0; i &#x261; au r">kʰiɡaur</word>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" ph="s i p">sip</word>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t o s+p i" underlying="t o s+p i z">tospi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned">ŋiz</word>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN">ɡiŋ</word>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN">kʰiɡaur</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned">sip</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="t o s+p i z">tospi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰupɔir&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;ŋiz&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;ɡiŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰiɡaur&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;sip&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;tospiz&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰupɔir ŋiz ɡiŋ kʰiɡaur sip tospixiw mok xaz</p>
+  <p>ҭупойр ӈиз гиӈ қигаўр сип тоспихив мок хаз</p>
+  <il>
+    <w>
+      <o>tʰupɔir</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ŋiz</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ɡiŋ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>kʰiɡaur</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>sip</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>tospiz</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number">
-    <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number">
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" tr="rheme" locus="number"/>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number"/>
  </np>
</example>
calling defaultval for case/
defaultval: det, case
returning NOM

addaffixes:

About to call getSlotValue for a/det/case/obligatory
Got NOM
<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number">
    <word gloss="a" posp="det" tr="rheme" locus="number"/>
+    <thingy type="detcase" function="suffix" gloss="NOM"/>
    <word posp="noun" gloss="lamb" tr="rheme" locus="number"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number"/>
+    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/a/ + /iː/ > // + /e/
<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
+    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" ph="p u q i">puqi</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" ph="p u q i">puqi</word>
+    <word gloss="a" posp="det" tr="rheme" locus="number" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">ed</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number">puqi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰ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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puqi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰed puqi</p>
+  <p>ԥед пуԟи</p>
+  <il>
+    <w>
+      <o>pʰa</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>puqi</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np 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>

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 tr="rheme" locus="number">
+    <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/a/ + /iː/ > // + /e/
/i/ + /p/ > /i/ + /p/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" ph="p u q i">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" tr="rheme" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" ph="p u q i">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">ed</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">pin</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰ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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puqi&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;-pin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰed puqipin</p>
+  <p>ԥед пуԟипин</p>
+  <il>
+    <w>
+      <o>pʰa</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>puqi</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-pin</o>
+      <g>little</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module 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" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3"/>
    </np>
    <np tr="rheme" role="obj" locus="number">
+      <word gloss="a" posp="det"/>
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
-      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3"/>
    </np>
    <np tr="rheme" role="obj" locus="number">
      <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" obj="3">
      <word posp="verb" gloss="have"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np tr="rheme" role="obj" locus="number">
-      <word gloss="a" posp="det"/>
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="a" posp="det" tr="rheme" role="obj" locus="number"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number">
        <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" obj="3">
-      <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" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: det, case
returning NOM

addaffixes:

About to call getSlotValue for a/det/case/obligatory
Got NOM
About to call getSlotValue for have/verb/subj/obligatory
Got 3
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np tr="rheme" role="obj" locus="number">
      <word gloss="a" posp="det" tr="rheme" role="obj" locus="number"/>
+      <thingy type="detcase" function="suffix" gloss="NOM"/>
      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number">
        <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" obj="3">
      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
-    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/a/ + /iː/ > // + /e/
/i/ + /p/ > /i/ + /p/
/t/ + /x/ > // + /k/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" ph="p u q i">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
-    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" ph="p u q i">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">ed</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰ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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puqi&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;-pin&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;ʈʰut&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb pʰed puqipin ʈʰukiw mok xaz</p>
+  <p>леб ԥед пуԟипин ҭ̇укив мок хаз</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>pʰa</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>puqi</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-pin</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰut</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

addaffixes:

About to call getSlotValue for have/verb/subj/obligatory
Got 3
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3" 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">
      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" tr="theme" role="subj" locus="number">
+  <flat>
    <word posp="pron" gloss="3" 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">
-      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
    <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"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbsubj" function="suffix" gloss="3"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
-    <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"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="p&#x2B0; i &#x14B;" slots="Cmr Cms">pʰiŋ</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /pʰ/ > // + /p/
/ŋ/ + /x/ > // + /ŋ/
<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="p&#x2B0; i &#x14B;" slots="Cmr Cms">pʰiŋ</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</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" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="p i" underlying="p&#x2B0; i &#x14B;">pi</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="p i" underlying="p&#x2B0; i &#x14B;">pi</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number">leb</word>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" underlying="p&#x2B0; i &#x14B;">pi</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʰut&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;-pʰiŋ&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb ʈʰupiŋiw mok xaz</p>
+  <p>леб ҭ̇упиӈив мок хаз</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ʈʰut</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-pʰiŋ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np tr="rheme" role="owned" locus="number">
-      <word gloss="a" posp="det"/>
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="a" posp="det" tr="rheme" role="owned" locus="number"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
    <np role="owner" case="GEN">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
-      <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" obj="3"/>
+      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: det, case
returning NOM
calling defaultval for subj/
defaultval: verb, subj
returning 3

addaffixes:

About to call getSlotValue for a/det/case/obligatory
Got NOM
About to call getSlotValue for have/verb/subj/obligatory
Got 3
About to call getSlotValue for want/verb/subj/obligatory
Got 3
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np tr="rheme" role="owned" locus="number">
      <word gloss="a" posp="det" tr="rheme" role="owned" locus="number"/>
+      <thingy type="detcase" function="suffix" gloss="NOM"/>
      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
    <np role="owner" case="GEN">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
+          <thingy type="verbsubj" function="suffix" gloss="3"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number"/>
-    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="q a s" slots="Cir Cmr">qas</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288; a s" slots="Cir Cfr">ʈas</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/a/ + /iː/ > // + /e/
/i/ + /p/ > /i/ + /p/
/t/ + /x/ > // + /k/
/s/ + /x/ > // + /x/
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number" ph="p u q i" slots="Cir V1">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n" slots="Cfr Cfs">pin</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288;&#x2B0; u t" slots="Cir Cmr">ʈʰut</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number" ph="p u q i">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="q a s" slots="Cir Cmr">qas</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288; a s" slots="Cir Cfr">ʈas</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="q a" underlying="q a s">qa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288; a s">ʈas</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number" ph="l e b">leb</word>
-    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number" ph="p u q i">puqi</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="p i n">pin</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288;&#x2B0; u" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="q a" underlying="q a s">qa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x288; a s">ʈas</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" tr="theme" role="subj" locus="number">leb</word>
+    <word gloss="a" posp="det" tr="rheme" role="owned" locus="number" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">ed</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="owned" locus="number">puqi</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">pin</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" underlying="&#x288;&#x2B0; u t">ʈʰu</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="q a s">qa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ">xiw</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">ʈas</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰ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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puqi&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;-pin&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;ʈʰut&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qas&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈas&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;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb pʰed puqipin ʈʰukiw mok xaz qaxiw ʈas mok xaz</p>
+  <p>леб ԥед пуԟипин ҭ̇укив мок хаз ԟахив т̇ас мок хаз</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>pʰa</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>puqi</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-pin</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰut</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>qas</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>ʈas</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="k i s" slots="Cir Cmr">kis</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s/ + /n/ > // + /n/
<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="k i s" slots="Cir Cmr">kis</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="k i" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;">ɡiŋ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="k i" underlying="k i s">ki</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ">nas</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kis&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰoːr ɡiŋ kinas xaz</p>
+  <p>ԥоор гиӈ кинас хаз</p>
+  <il>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ɡiŋ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>kis</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" locus="number"/>
-    <word posp="noun" gloss="surface" def="def"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" locus="number" ph="&#x261; a x" slots="Cir Cfr">ɡax</word>
+    <word posp="noun" gloss="surface" def="def" ph="t&#x2B0; e b" slots="Cir Cfr">tʰeb</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x2B0; u&#x2D0; z" slots="Cir Cfr">tʰuːz</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" locus="number" ph="&#x261; a x" slots="Cir Cfr">ɡax</word>
-    <word posp="noun" gloss="surface" def="def" ph="t&#x2B0; e b" slots="Cir Cfr">tʰeb</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x2B0; u&#x2D0; z" slots="Cir Cfr">tʰuːz</word>
+    <word posp="noun" gloss="table" def="def" locus="number" ph="&#x261; a x">ɡax</word>
+    <word posp="noun" gloss="surface" def="def" ph="t&#x2B0; e b">tʰeb</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x2B0; u&#x2D0; z">tʰuːz</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" locus="number" ph="&#x261; a x">ɡax</word>
-    <word posp="noun" gloss="surface" def="def" ph="t&#x2B0; e b">tʰeb</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x2B0; u&#x2D0; z">tʰuːz</word>
+    <word posp="noun" gloss="table" def="def" locus="number">ɡax</word>
+    <word posp="noun" gloss="surface" def="def">tʰeb</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">tʰuːz</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰeb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰuːz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡax tʰeb tʰuːz</p>
+  <p>гах ҭеб ҭууз</p>
+  <il>
+    <w>
+      <o>ɡax</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>tʰeb</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>tʰuːz</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" locus="number"/>
-    <word posp="noun" gloss="inside" def="def"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x288; e w au m" slots="Cir Cfr">ʈewaum</word>
+    <word posp="noun" gloss="inside" def="def" ph="w i n" slots="Cir Cfr">win</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i l" slots="Cir Cfr">kil</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x288; e w au m" slots="Cir Cfr">ʈewaum</word>
-    <word posp="noun" gloss="inside" def="def" ph="w i n" slots="Cir Cfr">win</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i l" slots="Cir Cfr">kil</word>
+    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x288; e w au m">ʈewaum</word>
+    <word posp="noun" gloss="inside" def="def" ph="w i n">win</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i l">kil</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x288; e w au m">ʈewaum</word>
-    <word posp="noun" gloss="inside" def="def" ph="w i n">win</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i l">kil</word>
+    <word posp="noun" gloss="box" def="def" locus="number">ʈewaum</word>
+    <word posp="noun" gloss="inside" def="def">win</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">kil</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈewaum&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kil&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʈewaum win kil</p>
+  <p>т̇еваўм вин кил</p>
+  <il>
+    <w>
+      <o>ʈewaum</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>kil</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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">
    <np def="neither" locus="number">
-      <word person="1excl" posp="pron"/>
+      <word person="1excl" posp="pron" gloss="1excl"/>
    </np>
    <word gloss="COMIT" posp="pp"/>
  </pp>
</example>

copyuptophrase:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k" slots="Cir Cfr">pʰaŋaik</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k" slots="Cir Cfr">pʰaŋaik</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k">pʰaŋaik</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="p&#x2B0; a &#x14B; ai k">pʰaŋaik</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number">pʰoːr</word>
+    <word gloss="COMIT" posp="pp" role="comitative">pʰaŋaik</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰaŋaik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰoːr pʰaŋaik</p>
+  <p>ԥоор ԥаӈайк</p>
+  <il>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>pʰaŋaik</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number"/>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" ph="k&#x2B0; e x i &#x261;" slots="Cir Cfr">kʰexiɡ</word>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0; m" slots="Cir Cmr">ɡoːm</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/m/ + /x/ > // + /ŋ/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" ph="k&#x2B0; e x i &#x261;" slots="Cir Cfr">kʰexiɡ</word>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0; m" slots="Cir Cmr">ɡoːm</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" ph="k&#x2B0; e x i &#x261;">kʰexiɡ</word>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0;" underlying="&#x261; o&#x2D0; m">ɡoː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" ph="k&#x2B0; e x i &#x261;">kʰexiɡ</word>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0;" underlying="&#x261; o&#x2D0; m">ɡoː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number">kʰexiɡ</word>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number">tʰupɔir</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; o&#x2D0; m">ɡoː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰexiɡ&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ʰupɔir&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;ɡoːm&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰexiɡ tʰupɔir ɡoːŋiw mok xaz</p>
+  <p>қехиг ҭупойр гооӈив мок хаз</p>
+  <il>
+    <w>
+      <o>kʰexiɡ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>tʰupɔir</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ɡoːm</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" ph="q i &#x288; &#x254;i m" slots="Cir Cfr">qiʈɔim</word>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="&#x14B; i z" slots="Cir Cfr">ŋiz</word>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" ph="x o b" slots="Cir Cfr">xob</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a s+q" slots="Cir Cmr">pasq</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s+q/ + /x/ > // + /s+q/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" ph="q i &#x288; &#x254;i m" slots="Cir Cfr">qiʈɔim</word>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="&#x14B; i z" slots="Cir Cfr">ŋiz</word>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" ph="x o b" slots="Cir Cfr">xob</word>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a s+q" slots="Cir Cmr">pasq</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" ph="q i &#x288; &#x254;i m">qiʈɔim</word>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="&#x14B; i z">ŋiz</word>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" ph="x o b">xob</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a" underlying="p a s+q">pa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" ph="q i &#x288; &#x254;i m">qiʈɔim</word>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="&#x14B; i z">ŋiz</word>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" ph="x o b">xob</word>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a" underlying="p a s+q">pa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number">qiʈɔim</word>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN">tʰupɔir</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN">ŋiz</word>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned">xob</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="p a s+q">pa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">sqiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiʈɔim&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ʰupɔir&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;ŋiz&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;xob&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pasq&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiʈɔim tʰupɔir ŋiz xob pasqiw mok xaz</p>
+  <p>ԟит̇ойм ҭупойр ӈиз хоб пасԟив мок хаз</p>
+  <il>
+    <w>
+      <o>qiʈɔim</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>tʰupɔir</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ŋiz</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>xob</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>pasq</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN"/>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned"/>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="s i p" slots="Cir Cfr">sip</word>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="&#x288; e" slots="Cir V1">ʈe</word>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" ph="s i t o&#x2D0; t" slots="C C">sitoːt</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="s i p" slots="Cir Cfr">sip</word>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="&#x288; e" slots="Cir V1">ʈe</word>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" ph="s i t o&#x2D0; t" slots="C C">sitoːt</word>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;">ɡiŋ</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="s i p">sip</word>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="&#x288; e">ʈe</word>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" ph="s i t o&#x2D0; t">sitoːt</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="&#x261; i &#x14B;">ɡiŋ</word>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="s i p">sip</word>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="&#x288; e">ʈe</word>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" ph="s i t o&#x2D0; t">sitoːt</word>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN">ɡiŋ</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN">sip</word>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN">ʈe</word>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned">sitoːt</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;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sitoːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiŋ sip ʈe sitoːt</p>
+  <p>гиӈ сип т̇е ситоот</p>
+  <il>
+    <w>
+      <o>ɡiŋ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>sip</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ʈe</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>sitoːt</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np 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>

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 def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="m o s+q" slots="Cir Cmr">mosq</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s+q/ + /x/ > // + /s+q/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="m o s+q" slots="Cir Cmr">mosq</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="m o" underlying="m o s+q">mo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="m o" underlying="m o s+q">mo</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number">bax</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" underlying="m o s+q">mo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">sqiw</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bax&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;mosq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bax mosqiw xaz</p>
+  <p>бах мосԟив хаз</p>
+  <il>
+    <w>
+      <o>bax</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>mosq</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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 def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="t i t&#x2B0;" slots="Cir Cmr">titʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʰ/ + /x/ > // + /kʰ/
<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="t i t&#x2B0;" slots="Cir Cmr">titʰ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="t i" underlying="t i t&#x2B0;">ti</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k&#x2B0; i w" underlying="x i w">kʰiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="t i" underlying="t i t&#x2B0;">ti</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k&#x2B0; i w" underlying="x i w">kʰiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number">bax</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" underlying="t i t&#x2B0;">ti</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">kʰiw</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bax&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;titʰ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bax tikʰiw</p>
+  <p>бах тиқив</p>
+  <il>
+    <w>
+      <o>bax</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>titʰ</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="d i z o m" slots="Cir Cmr">dizom</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/m/ + /x/ > // + /ŋ/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="d i z o m" slots="Cir Cmr">dizom</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l">xupil</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="d i z o" underlying="d i z o m">dizo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l">xupil</word>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="d i z o" underlying="d i z o m">dizo</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number">xupil</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" underlying="d i z o m">dizo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bax&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;xupil&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;dizom&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bax xupil dizoŋiw</p>
+  <p>бах хупил дизоӈив</p>
+  <il>
+    <w>
+      <o>bax</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>xupil</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>dizom</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/m/ + /x/ > // + /ŋ/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" ph="b a x">bax</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" ph="x u p i l">xupil</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number">bax</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bax&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;xupil&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;ɡam&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bax xupil ɡaŋiw mok xaz</p>
+  <p>бах хупил гаӈив мок хаз</p>
+  <il>
+    <w>
+      <o>bax</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>xupil</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ɡam</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" ph="k&#x2B0; e x i &#x261;" slots="Cir Cfr">kʰexiɡ</word>
+    <word posp="conj" gloss="and" ph="&#x288; a l" slots="Cir Cfr">ʈal</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" ph="p&#x2B0; a m o&#x2D0; m" slots="Cir Cfr">pʰamoːm</word>
+    <word posp="conj" gloss="and" ph="&#x288; a l" slots="Cir Cfr">ʈal</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" ph="q i &#x288; &#x254;i m" slots="Cir Cfr">qiʈɔim</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0; m" slots="Cir Cmr">ɡoːm</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/m/ + /x/ > // + /ŋ/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0; u p &#x254;i r" slots="Cir Cfr">tʰupɔir</word>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" ph="k&#x2B0; e x i &#x261;" slots="Cir Cfr">kʰexiɡ</word>
-    <word posp="conj" gloss="and" ph="&#x288; a l" slots="Cir Cfr">ʈal</word>
-    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" ph="p&#x2B0; a m o&#x2D0; m" slots="Cir Cfr">pʰamoːm</word>
-    <word posp="conj" gloss="and" ph="&#x288; a l" slots="Cir Cfr">ʈal</word>
-    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" ph="q i &#x288; &#x254;i m" slots="Cir Cfr">qiʈɔim</word>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0; m" slots="Cir Cmr">ɡoːm</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" ph="k&#x2B0; e x i &#x261;">kʰexiɡ</word>
+    <word posp="conj" gloss="and" ph="&#x288; a l">ʈal</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" ph="p&#x2B0; a m o&#x2D0; m">pʰamoːm</word>
+    <word posp="conj" gloss="and" ph="&#x288; a l">ʈal</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" ph="q i &#x288; &#x254;i m">qiʈɔim</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0;" underlying="&#x261; o&#x2D0; m">ɡoː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" ph="t&#x2B0; u p &#x254;i r">tʰupɔir</word>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" ph="k&#x2B0; e x i &#x261;">kʰexiɡ</word>
-    <word posp="conj" gloss="and" ph="&#x288; a l">ʈal</word>
-    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" ph="p&#x2B0; a m o&#x2D0; m">pʰamoːm</word>
-    <word posp="conj" gloss="and" ph="&#x288; a l">ʈal</word>
-    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" ph="q i &#x288; &#x254;i m">qiʈɔim</word>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; o&#x2D0;" underlying="&#x261; o&#x2D0; m">ɡoː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number">tʰupɔir</word>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme">kʰexiɡ</word>
+    <word posp="conj" gloss="and">ʈal</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme">pʰamoːm</word>
+    <word posp="conj" gloss="and">ʈal</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme">qiʈɔim</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; o&#x2D0; m">ɡoː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰupɔir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰexiɡ&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;ʈal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰamoːm&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;ʈal&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;qiʈɔim&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;ɡoːm&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰupɔir kʰexiɡ ʈal pʰamoːm ʈal qiʈɔim ɡoːŋiw mok xaz</p>
+  <p>ҭупойр қехиг т̇ал ԥамоом т̇ал ԟит̇ойм гооӈив мок хаз</p>
+  <il>
+    <w>
+      <o>tʰupɔir</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>kʰexiɡ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ʈal</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>pʰamoːm</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ʈal</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>qiʈɔim</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>ɡoːm</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/r/ + /n/ > // + /n/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" ph="b a x" slots="Cir Cfr">bax</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" ph="b a x">bax</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" ph="b a x">bax</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number">bax</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bax&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;wikar&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰoːr bax wikanas mok xaz</p>
+  <p>ԥоор бах виканас мок хаз</p>
+  <il>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>bax</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>wikar</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for catch/verb/subj/obligatory
Got 3
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np def="def" role="subj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
    </np>
    <np def="def" role="obj" locus="number">
      <word posp="noun" gloss="mouse" def="def" role="obj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
  <s connector="then">
    <np def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
    </np>
    <np def="def" role="obj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/m/ + /x/ > // + /ŋ/
/r/ + /n/ > // + /n/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" ph="x u p i l" slots="Cir Cfr">xupil</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" ph="x u p i l">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" ph="x u p i l">xupil</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number">leb</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number">xupil</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xupil&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;ɡam&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wikar&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb xupil ɡaŋiw mok xaz pʰoːr leb wikanas mok xaz xar</p>
+  <p>леб хупил гаӈив мок хаз ԥоор леб виканас мок хаз хар</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>xupil</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ɡam</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>wikar</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np def="def" role="subj" head="this" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
-      <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">
        <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" role="subj" head="this" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
    </np>
    <np def="def" role="obj" head="this" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
-      <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" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" posp="pron" gloss="1excl"/>
+      <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
    </np>
    <np def="def" role="obj" head="this" locus="number">
-      <word posp="pron" gloss="3"/>
+      <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">
-      <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" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

About to call getSlotValue for cheese/verb/subj/obligatory
Got 3
About to call getSlotValue for catch/verb/subj/obligatory
Got 3
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np def="def" role="subj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
      <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
        <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" role="subj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
    </np>
    <np def="def" role="obj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
    </np>
    <np def="def" role="obj" head="this" locus="number">
      <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <np def="def" role="subj" head="this" locus="number">
+  <flat>
    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
-      <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3">
    <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"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbsubj" function="suffix" gloss="3"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" role="subj" head="this" locus="number">
    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    </np>
-    <np def="def" role="obj" head="this" locus="number">
    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
    <thingy type="verbsubj" function="suffix" gloss="3"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <np def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    </np>
-    <np def="def" role="obj" head="this" locus="number">
    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    <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"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="d o p &#x254;i k" slots="Cir Cfr">dopɔik</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="m i &#x261;" slots="Cfr Cms">miɡ</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k/ + /m/ > // + /ŋ/
/ɡ/ + /x/ > // + /ɡ/
/m/ + /x/ > // + /ŋ/
/r/ + /n/ > // + /n/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="d o p &#x254;i k" slots="Cir Cfr">dopɔik</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="m i &#x261;" slots="Cfr Cms">miɡ</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</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" ph="d o p &#x254;i" underlying="d o p &#x254;i k">dopɔi</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x14B; i" underlying="m i &#x261;">ŋi</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" ph="d o p &#x254;i" underlying="d o p &#x254;i k">dopɔi</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x14B; i" underlying="m i &#x261;">ŋi</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number">leb</word>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" underlying="d o p &#x254;i k">dopɔi</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" underlying="m i &#x261;">ŋi</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ɡiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dopɔik&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;-miɡ&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡam&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wikar&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>leb dopɔiŋiɡiw mok xaz leb leb ɡaŋiw mok xaz xar pʰoːr leb wikanas mok xaz xar</p>
+  <p>леб допойӈигив мок хаз леб леб гаӈив мок хаз хар ԥоор леб виканас мок хаз хар</p>
+  <il>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>dopɔik</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-miɡ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ɡam</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>wikar</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number"/>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="j e x" slots="Cir Cmr">jex</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a s+q" slots="Cir Cmr">pasq</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /n/ > // + /ŋ/
/s+q/ + /x/ > // + /s+q/
/m/ + /x/ > // + /ŋ/
/r/ + /n/ > // + /n/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="j e x" slots="Cir Cmr">jex</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="j e" underlying="j e x">je</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="&#x14B; a s" underlying="n a s">ŋas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a s+q" slots="Cir Cmr">pasq</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a" underlying="p a s+q">pa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a m" slots="Cir Cmr">ɡam</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b" slots="Cir Cfr">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a r" slots="Cir Cmr">wikar</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s" slots="Cmr Cfs">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r" slots="Cir Cfr">xar</word>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word gloss="then" posp="conj" ph="x a r">xar</word>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="j e" underlying="j e x">je</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="&#x14B; a s" underlying="n a s">ŋas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="p a" underlying="p a s+q">pa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="s+q i w" underlying="x i w">sqiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
-    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="&#x261; a" underlying="&#x261; a m">ɡa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number" ph="l e b">leb</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="w i k a" underlying="w i k a r">wika</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" attach="suffix" ph="n a s">nas</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word gloss="then" posp="conj" ph="x a r">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" underlying="j e x">je</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ" underlying="n a s">ŋas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="p a s+q">pa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">sqiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
+    <word posp="pron" gloss="3" def="def" role="subj" head="this" locus="number">leb</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" underlying="&#x261; a m">ɡa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="subj" locus="number">pʰoːr</word>
+    <word posp="pron" gloss="3" def="def" role="obj" head="this" locus="number">leb</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" underlying="w i k a r">wika</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.SUBJ">nas</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word gloss="then" posp="conj">xar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jex&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pasq&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡam&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;leb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wikar&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;-nas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰoːr leb jeŋas mok xaz leb leb pasqiw mok xaz xar leb leb ɡaŋiw mok xaz xar pʰoːr leb wikanas mok xaz xar</p>
+  <p>ԥоор леб јеӈас мок хаз леб леб пасԟив мок хаз хар леб леб гаӈив мок хаз хар ԥоор леб виканас мок хаз хар</p>
+  <il>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>jex</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>pasq</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ɡam</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>leb</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>wikar</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-nas</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>xar</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np def="def" head="this" role="owned" locus="number">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number"/>
    </np>
    <np role="owner" case="GEN">
      <subs>
        <np def="def" role="indobj" tr="rheme" locus="number">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number"/>
        </np>
        <np role="obj" locus="number">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="apple"/>
+          <word gloss="a" posp="det" role="obj" locus="number"/>
+          <word posp="noun" gloss="apple" role="obj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
      </subs>
    </np>
    <np def="def" role="indobj" locus="number">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3">
-      <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" indobj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: det, case
returning NOM
calling defaultval for subj/
defaultval: verb, subj
returning 3

addaffixes:

About to call getSlotValue for a/det/case/obligatory
Got NOM
About to call getSlotValue for give/verb/subj/obligatory
Got 3
About to call getSlotValue for surprise/verb/subj/obligatory
Got 3
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np def="def" head="this" role="owned" locus="number">
      <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number"/>
    </np>
    <np role="owner" case="GEN">
      <subs>
        <np def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number"/>
        </np>
        <np role="obj" locus="number">
          <word gloss="a" posp="det" role="obj" locus="number"/>
+          <thingy type="detcase" function="suffix" gloss="NOM"/>
          <word posp="noun" gloss="apple" role="obj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3"/>
+          <thingy type="verbsubj" function="suffix" gloss="3"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
      </subs>
    </np>
    <np def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number"/>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number"/>
-    <word gloss="a" posp="det" role="obj" locus="number"/>
-    <thingy type="detcase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" role="obj" locus="number"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" ph="d e d" slots="Cir Cfr">ded</word>
+    <word gloss="a" posp="det" role="obj" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="x a k" slots="Cir Cmr">xak</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" ph="s e s a&#x2D0; &#x14B;" slots="C C">sesaːŋ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="m u k&#x2B0; au b" slots="Cir Cmr">mukʰaub</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/a/ + /iː/ > // + /e/
/k/ + /x/ > // + /k/
/b/ + /x/ > // + /ɡ/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" ph="d e d" slots="Cir Cfr">ded</word>
-    <word gloss="a" posp="det" role="obj" locus="number" ph="p&#x2B0; a" slots="Cir V1">pʰa</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="i&#x2D0; d" slots="V1 Cfs">iːd</thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" ph="&#x261; i s+&#x288; e m" slots="Cir Cfr">ɡisʈem</word>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="x a k" slots="Cir Cmr">xak</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" ph="k u &#x261;">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" ph="d e d">ded</word>
+    <word gloss="a" posp="det" role="obj" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="x a" underlying="x a k">xa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" ph="s e s a&#x2D0; &#x14B;" slots="C C">sesaːŋ</word>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="m u k&#x2B0; au b" slots="Cir Cmr">mukʰaub</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" ph="s e s a&#x2D0; &#x14B;">sesaːŋ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="m u k&#x2B0; au" underlying="m u k&#x2B0; au b">mukʰau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" ph="k u &#x261;">kuɡ</word>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" ph="d e d">ded</word>
-    <word gloss="a" posp="det" role="obj" locus="number" ph="p&#x2B0;" underlying="p&#x2B0; a">pʰ</word>
-    <thingy type="detcase" function="suffix" gloss="NOM" attach="suffix" ph="e d" underlying="i&#x2D0; d">ed</thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" ph="&#x261; i s+&#x288; e m">ɡisʈem</word>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="x a" underlying="x a k">xa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="k i w" underlying="x i w">kiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" ph="s e s a&#x2D0; &#x14B;">sesaːŋ</word>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="m u k&#x2B0; au" underlying="m u k&#x2B0; au b">mukʰau</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x261; i w" underlying="x i w">ɡiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number">ded</word>
+    <word gloss="a" posp="det" role="obj" locus="number" underlying="p&#x2B0; a">pʰ</word>
+    <thingy type="detcase" function="suffix" gloss="NOM" underlying="i&#x2D0; d">ed</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number">ɡisʈem</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" underlying="x a k">xa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">kiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number">sesaːŋ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" underlying="m u k&#x2B0; au b">mukʰau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ɡiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ded&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;pʰ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;-iːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡisʈem&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;xak&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sesaːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mukʰaub&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kuɡ ded pʰed ɡisʈem xakiw mok xaz sesaːŋ mukʰauɡiw mok xaz</p>
+  <p>куг дед ԥед гист̇ем хакив мок хаз сесааӈ муқаўгив мок хаз</p>
+  <il>
+    <w>
+      <o>kuɡ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ded</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>pʰa</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-iːd</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡisʈem</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>xak</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>sesaːŋ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>mukʰaub</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</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 sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/subj/obligatory
Got 3
About to call getSlotValue for tell/verb/subj/obligatory
Got 3
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number"/>
    </np>
    <np def="neither" role="owned" locus="number" person="1excl" tr="rheme">
      <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme"/>
    </np>
    <np role="owner" case="GEN" person="2">
      <subs>
        <np def="neither" role="obj" locus="number" person="2">
          <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2"/>
+          <thingy type="verbsubj" function="suffix" gloss="3"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl">
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl"/>
+      <thingy type="verbsubj" function="suffix" gloss="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme"/>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl"/>
-    <thingy type="verbsubj" function="suffix" gloss="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" ph="d e d" slots="Cir Cfr">ded</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="k i s" slots="Cir Cmr">kis</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="&#x288; u&#x2D0; n" slots="Cir Cmr">ʈuːn</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s/ + /x/ > // + /x/
/n/ + /x/ > // + /ŋ/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" ph="k u &#x261;" slots="Cir Cfr">kuɡ</word>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" ph="d e d" slots="Cir Cfr">ded</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" ph="p&#x2B0; o&#x2D0; r" slots="Cir Cfr">pʰoːr</word>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;" slots="Cir Cfr">ɡiŋ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="k i s" slots="Cir Cmr">kis</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" ph="k u &#x261;">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" ph="d e d">ded</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="k i" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="&#x288; u&#x2D0; n" slots="Cir Cmr">ʈuːn</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w" slots="Cmr Cfs">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k" slots="Cis Cfs">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="&#x288; u&#x2D0;" underlying="&#x288; u&#x2D0; n">ʈuː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z" slots="Cis Cfs">xaz</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" ph="k u &#x261;">kuɡ</word>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" ph="d e d">ded</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" ph="p&#x2B0; o&#x2D0; r">pʰoːr</word>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" ph="&#x261; i &#x14B;">ɡiŋ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="k i" underlying="k i s">ki</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="x i w">xiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="&#x288; u&#x2D0;" underlying="&#x288; u&#x2D0; n">ʈuː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" attach="suffix" ph="&#x14B; i w" underlying="x i w">ŋiw</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="m o k">mok</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="x a z">xaz</thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number">kuɡ</word>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number">ded</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme">pʰoːr</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number">ɡiŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" underlying="k i s">ki</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ">xiw</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" underlying="&#x288; u&#x2D0; n">ʈuː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.SUBJ" underlying="x i w">ŋiw</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">mok</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">xaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ded&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;pʰoːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kis&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈuːn&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;-xiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mok&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kuɡ ded pʰoːr ɡiŋ kixiw xaz ʈuːŋiw mok xaz</p>
+  <p>куг дед ԥоор гиӈ кихив хаз т̇ууӈив мок хаз</p>
+  <il>
+    <w>
+      <o>kuɡ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ded</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>pʰoːr</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ɡiŋ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>kis</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ʈuːn</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-xiw</o>
+      <g>3.SUBJ</g>
+    </w>
+    <w>
+      <o>mok</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>