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

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">
+        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module constorder:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="catch"/>
-    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <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 addgender:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="subj" number="sing" def="def" locus="number">
+    <np role="subj" number="sing" def="def" locus="number" gender="fem">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
-        <np number="sing" def="def" locus="number">
+        <np number="sing" def="def" locus="number" gender="neut">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="neut">
      <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 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" gender="fem">
+    <np role="subj" def="def" locus="number" gender="fem">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
-        <np number="sing" def="def" locus="number" gender="neut">
+        <np def="def" locus="number" gender="neut">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="neut">
+    <np role="obj" def="def" tr="rheme" locus="number" gender="neut">
      <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addaffixes:

About to call getSlotValue for woman/noun/case/obligatory
Got NOM
About to call getSlotValue for knife/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for yon/det/gender/optional
Got neut
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" def="def" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np def="def" locus="number" gender="neut" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
      <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="detgender" function="prefix" gloss="neut"/>
      <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </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" gender="fem" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np def="def" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-      </pp>
-    </np>
-    <np role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="detgender" function="prefix" gloss="neut"/>
    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="detgender" function="prefix" gloss="neut"/>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner" ph="&#x294; a&#x2D0; &#x2C8; q">ʔaːˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; e n u &#x2C8; n">ʔenuˈn</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner" ph="&#x27E; e&#x2D0; &#x2C8; f">ɾeːˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="p&#x2B0; i&#x2D0; &#x2C8; d">pʰiːˈd</word>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="m i &#x2C8; m">miˈm</word>
+    <thingy type="detgender" function="prefix" gloss="neut" attach="prefix" ph=""></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k o&#x2D0; &#x2C8; t&#x361;&#x283;">koːˈt͡ʃ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

vowelharmony:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner" ph="&#x294; a&#x2D0; &#x2C8; q">ʔaːˈq</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; e n u &#x2C8; n">ʔenuˈn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; o n u &#x2C8; n" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner" ph="&#x27E; e&#x2D0; &#x2C8; f">ɾeːˈf</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="p&#x2B0; i&#x2D0; &#x2C8; d">pʰiːˈd</word>
    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="m i &#x2C8; m">miˈm</word>
    <thingy type="detgender" function="prefix" gloss="neut" attach="prefix" ph=""></thingy>
    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k o&#x2D0; &#x2C8; t&#x361;&#x283;">koːˈt͡ʃ</word>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner" ph="&#x294; a&#x2D0; &#x2C8; q">ʔaːˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; o n u &#x2C8; n" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner" ph="&#x27E; e&#x2D0; &#x2C8; f">ɾeːˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="p&#x2B0; i&#x2D0; &#x2C8; d">pʰiːˈd</word>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="m i &#x2C8; m">miˈm</word>
-    <thingy type="detgender" function="prefix" gloss="neut" attach="prefix" ph=""></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k o&#x2D0; &#x2C8; t&#x361;&#x283;">koːˈt͡ʃ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" gender="fem" possessor="no.owner">ʔaːˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" gender="neut" possessor="no.owner">ɾeːˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">pʰiːˈd</word>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">miˈm</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" gender="neut" possessor="no.owner">koːˈt͡ʃ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">iˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem">qʷes</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʔaːq&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;-iɾ&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;ʔeˈnun&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;ˈɾeːf&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;-iɾ&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;fiˈqeːw&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;-iɾ&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;ˈpʰiːd&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;ˈmim&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;ˈkoːt͡ʃ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&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;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈʔaːqiɾ ʔoˈnun ˈɾeːfiɾ fiˈqeːwiɾ ˈpʰiːd ˈmim ˈkoːt͡ʃ miɡ ˈpiɾ qʷes</p>
+  <p>’aaqir ’onun reefir fiqeewir phiid mim kooch mig pir qwes</p>
+  <il>
+    <w>
+      <o>ˈʔaːq</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʔeˈnun</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈɾeːf</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈpʰiːd</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>ˈmim</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈkoːt͡ʃ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiɾ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>qʷes</o>
+      <g>active.POS.3.fem</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 embed:

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

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

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

prodrop:

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

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <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.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">eːˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpeːɾ kʰʷaɲ</p>
+  <p>peer quhañ</p>
+  <il>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" gender="fem">
      <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 propagatenumber:

No change.

module simplifynumber:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" gender="masc">
+    <np def="def" tr="rheme" role="subj" output="aspron" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" gender="fem">
+    <np def="def" tr="theme" role="obj" output="aspron" locus="number" gender="fem">
      <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="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" tr="rheme" role="subj" output="aspron" locus="number" gender="masc">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" tr="rheme" role="subj" locus="number" gender="masc">
+      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
-    <np def="def" tr="theme" role="obj" output="aspron" locus="number" gender="fem">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" tr="theme" role="obj" locus="number" gender="fem">
+      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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 markowned:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" tr="rheme" role="subj" locus="number" gender="masc">
+    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
-    <np def="def" tr="theme" role="obj" locus="number" gender="fem">
+    <np def="def" tr="theme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
    <np def="def" tr="theme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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.masc" obj="3.fem">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

prodrop:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
-    <np def="def" tr="theme" role="obj" locus="number" gender="fem" possessor="no.owner">
-      <word posp="pron" gender="fem" gloss="3.fem"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="pron" gender="masc" gloss="3.masc"/>
+      <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <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.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" tr="rheme" role="subj" locus="number" gender="masc" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner" ph="q&#x2B7; a &#x2C8; n">qʷaˈn</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner" ph="q&#x2B7; a &#x2C8; n">qʷaˈn</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <word posp="pron" gender="masc" gloss="3.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner">qʷaˈn</word>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">eːˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈqʷan ˈpeːɾ kʰʷaɲ</p>
+  <p>qwan peer quhañ</p>
+  <il>
+    <w>
+      <o>ˈqʷan</o>
+      <g>3.masc</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" output="aspron" locus="number" gender="fem">
      <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 propagatenumber:

No change.

module simplifynumber:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="masc">
+    <np def="def" tr="theme" role="subj" output="aspron" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj" output="aspron" locus="number" gender="fem">
+    <np def="def" tr="rheme" role="obj" output="aspron" locus="number" gender="fem">
      <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="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" tr="theme" role="subj" output="aspron" locus="number" gender="masc">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" tr="theme" role="subj" locus="number" gender="masc">
+      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
-    <np def="def" tr="rheme" role="obj" output="aspron" locus="number" gender="fem">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" tr="rheme" role="obj" locus="number" gender="fem">
+      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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 markowned:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" tr="theme" role="subj" locus="number" gender="masc">
+    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
-    <np def="def" tr="rheme" role="obj" locus="number" gender="fem">
+    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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="love2her" translation="He loves *her*.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="pron" gender="masc" gloss="3.masc"/>
    </np>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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.masc" obj="3.fem">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

prodrop:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
-      <word posp="pron" gender="masc" gloss="3.masc"/>
-    </np>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

addclitics:

<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="pron" gender="fem" gloss="3.fem"/>
+      <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <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.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2her" translation="He loves *her*.">
-  <s>
-    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner" ph="b u &#x2C8; j">buˈj</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner" ph="b u &#x2C8; j">buˈj</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <word posp="pron" gender="fem" gloss="3.fem" def="def" tr="rheme" role="obj" locus="number" possessor="no.owner">buˈj</word>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">eːˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbuj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈbuj ˈpeːɾ kʰʷaɲ</p>
+  <p>buy peer quhañ</p>
+  <il>
+    <w>
+      <o>ˈbuj</o>
+      <g>3.fem</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</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 embed:

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

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="NN1"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
      <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 propagatenumber:

No change.

module simplifynumber:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+    <np def="def" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="NN1"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
+    <np def="def" tr="rheme" role="obj" locus="number" gender="fem">
      <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="noun" gloss="NN2"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <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" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="NN2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    </np>
    <np def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <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.masc" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Tegaj hates Pafaj.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Tegaj" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes" ph="t e &#x261; &#x259;# &#x2C8; d&#x361;&#x292;">teɡə#ˈd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Pafaj" def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes" ph="p&#x2B0; a f a &#x2C8; d&#x361;&#x292;">pʰafaˈd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="i&#x2D0; &#x2C8; t i t e k">iːˈtitek</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Tegaj hates Pafaj.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="Tegaj" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes" ph="t e &#x261; &#x259;# &#x2C8; d&#x361;&#x292;">teɡə#ˈd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="Pafaj" def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes" ph="p&#x2B0; a f a &#x2C8; d&#x361;&#x292;">pʰafaˈd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem" ph="i&#x2D0; &#x2C8; t i t e k">iːˈtitek</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <word posp="noun" gloss="Tegaj" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes">teɡə#ˈd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="Pafaj" def="def" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes">pʰafaˈd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.masc" obj="3.fem">iːˈtitek</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teˈɡə̃d͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Tegaj&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;&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;pʰaˈfad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Pafaj&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;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːtitek&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;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>teˈɡə̃d͡ʒiɾ pʰaˈfad͡ʒiɾ ˈpiːtitek kʰʷaɲ</p>
+  <p>Tegẽjir Phafajir piititek quhañ</p>
+  <il>
+    <w>
+      <o>teˈɡə̃d͡ʒ</o>
+      <g>Tegaj</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>pʰaˈfad͡ʒ</o>
+      <g>Pafaj</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːtitek</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</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 embed:

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

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" gender="fem">
    <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
+      <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" gender="fem">
  <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="boy"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <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" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got GEN
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso1" translation="the boy's apple">
  <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-  </np>
-  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS">pʰiʔ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲiːm&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰiʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zaˈɾif&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;-iɾ&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;</p>
+  <p>ˈɲiːmed pʰiʔ zaˈɾifiɾ</p>
+  <p>ñiimed phi’ zarifir</p>
+  <il>
+    <w>
+      <o>ˈɲiːm</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰiʔ</o>
+      <g>3.masc.POSS</g>
+    </w>
+    <w>
+      <o>zaˈɾif</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" gender="fem">
  <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="pron" gender="masc" gloss="3.masc"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <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" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="pron" gender="masc" gloss="3.masc"/>
+    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso1b" translation="his (the boy's) apple">
  <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
  </np>
  <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="q&#x2B7; a &#x2C8; n">qʷaˈn</word>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="q&#x2B7; a &#x2C8; n">qʷaˈn</word>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="pron" gender="masc" gloss="3.masc" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">qʷaˈn</word>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS">pʰiʔ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="3.masc">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc&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;3.masc.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zaˈɾif&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;-iɾ&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;</p>
+  <p>ˈqʷan pʰiʔ zaˈɾifiɾ</p>
+  <p>qwan phi’ zarifir</p>
+  <il>
+    <w>
+      <o>ˈqʷan</o>
+      <g>3.masc</g>
+    </w>
+    <w>
+      <o>pʰiʔ</o>
+      <g>3.masc.POSS</g>
+    </w>
+    <w>
+      <o>zaˈɾif</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

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

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" gender="fem">
+  <np type="owner_owned" gender="fem" 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" gender="fem">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso2" translation="my apple">
  <np type="owner_owned" gender="fem">
    <np def="def" locus="number" role="owned" gender="fem" possessor="1excl">
+      <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" gender="fem">
  <np def="def" locus="number" role="owned" gender="fem" possessor="1excl">
    <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <np def="def" locus="number" role="owned" gender="fem" possessor="1excl">
    <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso2" translation="my apple">
  <np def="def" locus="number" role="owned" gender="fem" possessor="1excl">
    <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np def="def" locus="number" role="owned" gender="fem" possessor="1excl">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="1excl"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="1excl.POSS" ph="f i t&#x361;&#x283;">fit͡ʃ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="1excl.POSS" ph="f i t&#x361;&#x283;">fit͡ʃ</thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="1excl.POSS">fit͡ʃ</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="fem" possessor="1excl">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fit͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zaˈɾif&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;-iɾ&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;</p>
+  <p>fit͡ʃ zaˈɾifiɾ</p>
+  <p>fich zarifir</p>
+  <il>
+    <w>
+      <o>fit͡ʃ</o>
+      <g>1excl.POSS</g>
+    </w>
+    <w>
+      <o>zaˈɾif</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

<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" case="GEN">
+      <np type="owner_owned" gender="fem">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <np role="obj">
-      <np type="owner_owned">
-        <np type="owner_owned" role="owner">
+      <np type="owner_owned" gender="masc">
+        <np type="owner_owned" role="owner" gender="neut">
          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned" case="GEN">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="neut">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <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" gender="fem">
+    <np role="subj" number="sing">
+      <np type="owner_owned" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
-    <np role="obj">
-      <np type="owner_owned" gender="masc">
-        <np type="owner_owned" role="owner" gender="neut">
+    <np role="obj" number="sing">
+      <np type="owner_owned" gender="masc" number="sing">
+        <np type="owner_owned" role="owner" gender="neut" 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" gender="neut">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <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" gender="fem" number="sing">
-        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+    <np role="subj">
+      <np type="owner_owned" gender="fem">
+        <np def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="fem">
+        <np def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
-    <np role="obj" number="sing">
-      <np type="owner_owned" gender="masc" number="sing">
-        <np type="owner_owned" role="owner" gender="neut" 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" gender="masc">
+        <np type="owner_owned" role="owner" gender="neut">
+          <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" gender="neut">
+          <np def="def" locus="number" role="owned" case="GEN" gender="neut">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="masc">
+        <np def="def" locus="number" role="owned" gender="masc">
          <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" possessor="no.owner">
+    <np role="subj" possessor="no.owner" gender="fem">
      <np type="owner_owned" gender="fem">
        <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
-    <np role="obj" possessor="no.owner">
+    <np role="obj" possessor="no.owner" gender="neut">
      <np type="owner_owned" gender="masc">
        <np type="owner_owned" role="owner" gender="neut">
          <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np def="def" locus="number" role="owned" gender="masc" possessor="3.neut">
          <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.fem" obj="3.neut">
      <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" possessor="no.owner" gender="fem">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <np type="owner_owned" gender="fem">
        <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
+          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <word posp="noun" gloss="hunter"/>
        </np>
        <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
+          <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <np role="obj" possessor="no.owner" gender="neut">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <np type="owner_owned" gender="masc">
        <np type="owner_owned" role="owner" gender="neut">
          <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">
+            <thingy type="nppossessor" function="proclitic" gloss="2"/>
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np def="def" locus="number" role="owned" gender="masc" possessor="3.neut">
+          <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
          <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.fem" obj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" possessor="no.owner" gender="fem">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <np type="owner_owned" gender="fem">
+    <np type="owner_owned" gender="fem" role="subj" possessor="no.owner">
      <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <word posp="noun" gloss="hunter"/>
      </np>
      <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
        <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
        <word posp="noun" gloss="daughter"/>
      </np>
    </np>
-    </np>
-    <np role="obj" possessor="no.owner" gender="neut">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <np type="owner_owned" gender="masc">
+    <np type="owner_owned" gender="masc" role="obj" possessor="no.owner">
      <np type="owner_owned" role="owner" gender="neut">
        <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">
          <thingy type="nppossessor" function="proclitic" gloss="2"/>
          <word posp="noun" gloss="neighbour"/>
        </np>
      </np>
      <np def="def" locus="number" role="owned" gender="masc" possessor="3.neut">
        <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
        <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.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np type="owner_owned" gender="fem" role="subj" possessor="no.owner">
    <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="hunter"/>
    </np>
    <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
      <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
      <word posp="noun" gloss="daughter"/>
    </np>
-    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np type="owner_owned" gender="masc" role="obj" possessor="no.owner">
-      <np type="owner_owned" role="owner" gender="neut">
    <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">
      <thingy type="nppossessor" function="proclitic" gloss="2"/>
      <word posp="noun" gloss="neighbour"/>
    </np>
-      </np>
    <np def="def" locus="number" role="owned" gender="masc" possessor="3.neut">
      <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
      <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.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
    </np>
    <np def="def" locus="number" role="owned" gender="fem" possessor="3.masc">
      <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">
      <thingy type="nppossessor" function="proclitic" gloss="2"/>
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2"/>
    </np>
    <np def="def" locus="number" role="owned" gender="masc" possessor="3.neut">
      <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.fem" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="2"/>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2" ph="t&#x361;&#x283; e f i&#x2D0; &#x2C8; q">t͡ʃefiːˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="o &#x2C8; q a s+q&#x2B7; e &#x27E;">oˈqasqʷeɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2" ph="t&#x361;&#x283; e f i&#x2D0; &#x2C8; q">t͡ʃefiːˈq</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="o &#x2C8; q a s+q&#x2B7; e &#x27E;">oˈqasqʷeɾ</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="o &#x2C8; q a s+q&#x2B7; o &#x27E;" underlying="o &#x2C8; q a s+q&#x2B7; e &#x27E;">oˈqasqʷoɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2" ph="t&#x361;&#x283; e f i&#x2D0; &#x2C8; q">t͡ʃefiːˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="o &#x2C8; q a s+q&#x2B7; o &#x27E;" underlying="o &#x2C8; q a s+q&#x2B7; e &#x27E;">oˈqasqʷoɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS">pʰiʔ</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="fem" possessor="3.masc">poˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="2.POSS">ɡʷaw</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="2">t͡ʃefiːˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS">baz</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="masc" possessor="3.neut">ʔaˈt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" underlying="o &#x2C8; q a s+q&#x2B7; e &#x27E;">oˈqasqʷoɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem">qʷes</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiˈbiqʷ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰiʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpop&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;&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;ɡʷaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃeˈfiːq&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;baz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.neut.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʔat͡ʃ&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈoqasqʷeɾ&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;qʷes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiˈbiqʷed pʰiʔ ˈpopuɾ ɡʷaw t͡ʃeˈfiːqed baz ˈʔat͡ʃiɾ miɡ ˈpoqasqʷoɾ qʷes</p>
+  <p>qibiqwed phi’ popur gwaw chefiiqed baz ’achir mig poqasqwor qwes</p>
+  <il>
+    <w>
+      <o>qiˈbiqʷ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰiʔ</o>
+      <g>3.masc.POSS</g>
+    </w>
+    <w>
+      <o>ˈpop</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡʷaw</o>
+      <g>2.POSS</g>
+    </w>
+    <w>
+      <o>t͡ʃeˈfiːq</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>baz</o>
+      <g>3.neut.POSS</g>
+    </w>
+    <w>
+      <o>ˈʔat͡ʃ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈoqasqʷeɾ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>qʷes</o>
+      <g>active.POS.3.fem</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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

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

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" gender="neut" possessor="no.owner">
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="lamb"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np tr="rheme" locus="number" gender="neut" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" gender="neut" possessor="no.owner">kamə#ːˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈmə̃ːt&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;-iɾ&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;</p>
+  <p>kaˈmə̃ːtiɾ</p>
+  <p>kamẽẽtir</p>
+  <il>
+    <w>
+      <o>kaˈmə̃ːt</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

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>
  </np>
</example>

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="lamb1" translation="a little lamb">
-  <np tr="rheme" locus="number" gender="neut" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="w e">we</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="w e">we</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj">we</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" gender="neut" possessor="no.owner">kamə#ːˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;we-&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;kaˈmə̃ːt&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;-iɾ&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;</p>
+  <p>wekaˈmə̃ːtiɾ</p>
+  <p>wekamẽẽtir</p>
+  <il>
+    <w>
+      <o>we-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>kaˈmə̃ːt</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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"/>
    </np>
  </s>
</example>

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

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

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </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.fem">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

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

addclitics:

<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" subj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" subj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <word gloss="lamb" lexposp="noun" posp="verb">
+      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/verb/question/obligatory
Got not.Q
<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" subj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

flatten:

<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" subj="3.fem">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem">
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="a s+p i">aspi</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="w e">we</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="a s+p i">aspi</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="w e">we</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb">aspi</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj">we</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem">kamə#ːˈt</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem">qʷes</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aspi-&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;we-&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;kaˈmə̃ːt&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;qʷes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miɡ paspiwekaˈmə̃ːt qʷes</p>
+  <p>mig paspiwekamẽẽt qwes</p>
+  <il>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>aspi-</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>we-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>kaˈmə̃ːt</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>qʷes</o>
+      <g>active.POS.3.fem</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module markowned:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" tr="theme" role="subj" locus="number" gender="fem">
+    <np def="def" tr="theme" role="subj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </np>
-    <np tr="rheme" role="obj" locus="number" gender="neut">
+    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <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="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" gender="fem" gloss="3.fem"/>
    </np>
    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </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.fem" obj="3.neut">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

prodrop:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" tr="theme" role="subj" locus="number" gender="fem" possessor="no.owner">
-      <word posp="pron" gender="fem" gloss="3.fem"/>
-    </np>
    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

addclitics:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="black"/>
+      <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+      <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2b" translation="She loved a black lamb.">
-  <s>
-    <np tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="d&#x361;&#x292; o &#x2C8; p">d͡ʒoˈp</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="k a m &#x259;#&#x2D0; &#x2C8; t">kamə#ːˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="d&#x361;&#x292; o &#x2C8; p">d͡ʒoˈp</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">kamə#ːˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="adj" gloss="black" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">d͡ʒoˈp</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" obj="3.neut">eːˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem">qʷes</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈmə̃ːt&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;-iɾ&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;ˈd͡ʒop&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;black&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaˈmə̃ːtiɾ ˈd͡ʒop miɡ ˈpeːɾ qʷes</p>
+  <p>kamẽẽtir jop mig peer qwes</p>
+  <il>
+    <w>
+      <o>kaˈmə̃ːt</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒop</o>
+      <g>black</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>qʷes</o>
+      <g>active.POS.3.fem</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 embed:

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

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

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

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" possessor="no.owner">
-      <word person="1excl" posp="pron"/>
+      <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
    </np>
    <np def="neither" role="obj" locus="number" possessor="no.owner">
-      <word person="2" posp="pron"/>
+      <word person="2" posp="pron" gloss="2" gender="neut"/>
    </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" possessor="no.owner">
+    <np def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
      <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
    </np>
-    <np def="neither" role="obj" locus="number" possessor="no.owner">
+    <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
      <word person="2" posp="pron" gloss="2" gender="neut"/>
    </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:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <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="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <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="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2">eːˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɾat</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpeːɾ ɾat</p>
+  <p>peer rat</p>
+  <il>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ɾat</o>
+      <g>active.POS.1excl</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 embed:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <word gloss="in_surface" posp="pp"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner"/>
    </np>
  </pp>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got NOM
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <np def="def" locus="number" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="h &#x259;# &#x2C8; d&#x361;&#x292;">hə#ˈd͡ʒ</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner" ph="p&#x2B0; i &#x2C8; p">pʰiˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="h &#x259;# &#x2C8; d&#x361;&#x292;">hə#ˈd͡ʒ</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner" ph="p&#x2B0; i &#x2C8; p">pʰiˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">hə#ˈd͡ʒ</word>
+    <word posp="noun" gloss="table" def="def" locus="number" gender="masc" possessor="no.owner">pʰiˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhə̃d͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpʰip&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;-iɾ&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;</p>
+  <p>ˈhə̃d͡ʒ ˈpʰipiɾ</p>
+  <p>hẽj phipir</p>
+  <il>
+    <w>
+      <o>ˈhə̃d͡ʒ</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈpʰip</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <word gloss="to_inside" posp="pp"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner"/>
    </np>
  </pp>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got NOM
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
+  <flat>
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <np def="def" locus="number" gender="masc" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="f a&#x2D0; &#x2C8; t">faːˈt</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner" ph="b i k&#x2B0;&#x2B7; &#x259;# &#x2C8; n">bikʰʷə#ˈn</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="f a&#x2D0; &#x2C8; t">faːˈt</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner" ph="b i k&#x2B0;&#x2B7; &#x259;# &#x2C8; n">bikʰʷə#ˈn</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">faːˈt</word>
+    <word posp="noun" gloss="box" def="def" locus="number" gender="masc" possessor="no.owner">bikʰʷə#ˈn</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfaːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biˈkʰʷə̃n&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;-iɾ&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;</p>
+  <p>ˈfaːt biˈkʰʷə̃niɾ</p>
+  <p>faat biquhẽnir</p>
+  <il>
+    <w>
+      <o>ˈfaːt</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>biˈkʰʷə̃n</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" locus="number" possessor="no.owner"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; e n u &#x2C8; n">ʔenuˈn</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" locus="number" possessor="no.owner" ph="t a &#x2C8; q">taˈq</word>
  </flat>
</example>

vowelharmony:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; e n u &#x2C8; n">ʔenuˈn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; o n u &#x2C8; n" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" locus="number" possessor="no.owner" ph="t a &#x2C8; q">taˈq</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x294; o n u &#x2C8; n" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" locus="number" possessor="no.owner" ph="t a &#x2C8; q">taˈq</word>
+    <word gloss="COMIT" posp="pp" role="comitative" underlying="&#x294; e n u &#x2C8; n">ʔonuˈn</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" locus="number" possessor="no.owner">taˈq</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔeˈnun&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;ˈtaq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔoˈnun ˈtaq</p>
+  <p>’onun taq</p>
+  <il>
+    <w>
+      <o>ʔeˈnun</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈtaq</o>
+      <g>1excl</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 embed:

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

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" gender="neut">
      <word posp="noun" gloss="jaguar"/>
    </np>
-    <np number="sing" def="def" role="obj" locus="number">
+    <np number="sing" def="def" role="obj" locus="number" gender="masc">
      <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 propagatenumber:

No change.

module simplifynumber:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="neut">
+    <np def="def" role="subj" locus="number" gender="neut">
      <word posp="noun" gloss="jaguar"/>
    </np>
-    <np number="sing" def="def" role="obj" locus="number" gender="masc">
+    <np def="def" role="obj" locus="number" gender="masc">
      <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np def="def" role="subj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <np def="def" role="obj" locus="number" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc">
      <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" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
    <np def="def" role="obj" locus="number" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </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" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <np def="def" role="obj" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" gender="masc" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.neut" obj="3.masc"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="&#x294; i k a &#x2C8; f">ʔikaˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc" ph="u &#x2C8; h">uˈh</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="&#x294; i k a &#x2C8; f">ʔikaˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc" ph="u &#x2C8; h">uˈh</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" gender="neut" possessor="no.owner">ʔikaˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" gender="masc" possessor="no.owner">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.masc">uˈh</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut">bej</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈkaf&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;-iɾ&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;qiˈbiqʷ&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈuh&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;bej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.neut&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔiˈkafiɾ qiˈbiqʷiɾ miɡ ˈpuh bej</p>
+  <p>’ikafir qibiqwir mig puh bey</p>
+  <il>
+    <w>
+      <o>ʔiˈkaf</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qiˈbiqʷ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈuh</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>bej</o>
+      <g>active.POS.3.neut</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 embed:

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

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" gender="neut">
      <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" case="GEN">
+      <np type="owner_owned" gender="neut">
+        <np type="owner_owned" role="owner" gender="fem">
+          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
            <word posp="noun" gloss="hunter"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned" case="GEN">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" gender="neut">
          <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" gender="neut">
      <word posp="noun" gloss="lion"/>
    </np>
-    <np role="obj">
-      <np type="owner_owned" gender="neut">
-        <np type="owner_owned" role="owner" gender="fem">
+    <np role="obj" number="sing">
+      <np type="owner_owned" gender="neut" number="sing">
+        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="neut">
          <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" gender="neut">
+    <np def="def" role="subj" locus="number" gender="neut">
      <word posp="noun" gloss="lion"/>
    </np>
-    <np role="obj" number="sing">
-      <np type="owner_owned" gender="neut" number="sing">
-        <np type="owner_owned" role="owner" gender="fem" number="sing">
-          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+    <np role="obj">
+      <np type="owner_owned" gender="neut">
+        <np type="owner_owned" role="owner" gender="fem">
+          <np def="def" locus="number" role="owner" case="GEN" gender="masc">
            <word posp="noun" gloss="hunter"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
+          <np def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="neut">
+        <np def="def" locus="number" role="owned" gender="neut">
          <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addaffixes:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" gender="fem" possessor="3.masc"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="f a n o &#x2C8; v">fanoˈv</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="neut" possessor="3.fem" ph="q i &#x2C8; f">qiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.fem" ph="a &#x2C8; f">aˈf</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="f a n o &#x2C8; v">fanoˈv</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="o d" underlying="e d">od</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="neut" possessor="3.fem" ph="q i &#x2C8; f">qiˈf</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.fem" ph="a &#x2C8; f">aˈf</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="f a n o &#x2C8; v">fanoˈv</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" gender="fem" possessor="3.masc" ph="p o &#x2C8; p">poˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="o d" underlying="e d">od</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="neut" possessor="3.fem" ph="q i &#x2C8; f">qiˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.fem" ph="a &#x2C8; f">aˈf</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" gender="neut" possessor="no.owner">fanoˈv</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" gender="masc" possessor="no.owner">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS">pʰiʔ</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" gender="fem" possessor="3.masc">poˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" underlying="e d">od</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="neut" possessor="3.fem">qiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.fem">aˈf</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut">bej</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faˈnov&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;-iɾ&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;qiˈbiqʷ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰiʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpop&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqif&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈaf&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;bej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.neut&lt;/span&gt;&lt;/span&gt;</p>
+  <p>faˈnovuɾ qiˈbiqʷed pʰiʔ ˈpopod qaw ˈqifiɾ miɡ ˈpaf bej</p>
+  <p>fanovur qibiqwed phi’ popod qaw qifir mig paf bey</p>
+  <il>
+    <w>
+      <o>faˈnov</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qiˈbiqʷ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰiʔ</o>
+      <g>3.masc.POSS</g>
+    </w>
+    <w>
+      <o>ˈpop</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈqif</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈaf</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>bej</o>
+      <g>active.POS.3.neut</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 embed:

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

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" gender="neut">
    <np type="owner_owned" role="owner" gender="neut">
      <np type="owner_owned" role="owner" gender="masc">
        <np def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2">
+          <thingy type="nppossessor" function="proclitic" gloss="2"/>
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc">
+        <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np def="def" locus="number" role="owned" gender="neut" possessor="3.neut">
+      <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2">
    <thingy type="nppossessor" function="proclitic" gloss="2"/>
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2"/>
  </np>
  <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc"/>
  </np>
  <np def="def" locus="number" role="owned" gender="neut" possessor="3.neut">
    <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for son/noun/case/obligatory
Got GEN
About to call getSlotValue for friend/noun/case/obligatory
Got GEN
About to call getSlotValue for book/noun/case/obligatory
Got NOM
<example id="poss3" translation="your son's friend's book">
  <np def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2">
    <thingy type="nppossessor" function="proclitic" gloss="2"/>
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np def="def" locus="number" role="owned" gender="neut" possessor="3.neut">
    <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="2"/>
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-  </np>
-  <np def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc">
    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-  </np>
-  <np def="def" locus="number" role="owned" gender="neut" possessor="3.neut">
    <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="2"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc"/>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.neut"/>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc" ph="b e &#x2C8; w">beˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut" ph="s i &#x294; o&#x2D0; &#x294;">siʔoːʔ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
  </flat>
</example>

vowelharmony:

<example id="poss3" translation="your son's friend's book">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc" ph="b e &#x2C8; w">beˈw</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut" ph="s i &#x294; o&#x2D0; &#x294;">siʔoːʔ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut" ph="s u &#x294; o&#x2D0; &#x294;" underlying="s i &#x294; o&#x2D0; &#x294;">suʔoːʔ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="2.POSS" ph="&#x261;&#x2B7; a w">ɡʷaw</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2" ph="&#x294; a &#x2C8; t&#x361;&#x283;">ʔaˈt͡ʃ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS" ph="p&#x2B0; i &#x294;">pʰiʔ</thingy>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc" ph="b e &#x2C8; w">beˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS" ph="b a z">baz</thingy>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut" ph="s u &#x294; o&#x2D0; &#x294;" underlying="s i &#x294; o&#x2D0; &#x294;">suʔoːʔ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="2.POSS">ɡʷaw</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" gender="masc" possessor="2">ʔaˈt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.masc.POSS">pʰiʔ</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" gender="neut" possessor="3.masc">beˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ed</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.neut.POSS">baz</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="neut" possessor="3.neut" underlying="s i &#x294; o&#x2D0; &#x294;">suʔoːʔ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʷaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʔat͡ʃ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰiʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.masc.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbew&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;baz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.neut.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;siʔoːʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&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;</p>
+  <p>ɡʷaw ˈʔat͡ʃed pʰiʔ ˈbewed baz suʔoːʔuɾ</p>
+  <p>gwaw ’ached phi’ bewed baz su’oo’ur</p>
+  <il>
+    <w>
+      <o>ɡʷaw</o>
+      <g>2.POSS</g>
+    </w>
+    <w>
+      <o>ˈʔat͡ʃ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰiʔ</o>
+      <g>3.masc.POSS</g>
+    </w>
+    <w>
+      <o>ˈbew</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>baz</o>
+      <g>3.neut.POSS</g>
+    </w>
+    <w>
+      <o>siʔoːʔ</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</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 embed:

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

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut">
      <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" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </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" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <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.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut" ph="i &#x2C8; d">iˈd</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

vowelharmony:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut" ph="i &#x2C8; d">iˈd</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut" ph="i &#x2C8; d">iˈd</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.neut">iˈd</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut">bej</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈid&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;bej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.neut&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzoduɾ ˈpid bej</p>
+  <p>zodur pid bey</p>
+  <il>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈid</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>bej</o>
+      <g>active.POS.3.neut</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 embed:

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

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">
      <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" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for run/verb/question/obligatory
Got not.Q
<example id="intr_act" translation="The cat is running.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut"/>
    </vp>
  </s>
</example>

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" ph="e&#x2D0; &#x2C8; t&#x361;&#x283;">eːˈt͡ʃ</word>
  </flat>
</example>

vowelharmony:

<example id="intr_act" translation="The cat is running.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" ph="e&#x2D0; &#x2C8; t&#x361;&#x283;">eːˈt͡ʃ</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" ph="e&#x2D0; &#x2C8; t&#x361;&#x283;">eːˈt͡ʃ</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut">eːˈt͡ʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzoduɾ ˈpeːt͡ʃ</p>
+  <p>zodur peech</p>
+  <il>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːt͡ʃ</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont">
      <verb>chase</verb>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme">
      <noun>cat</noun>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme">
      <noun>mouse</noun>
    </np>
  </s>
</example>

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="neut">
      <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 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" gender="neut">
+    <np def="def" role="subj" tr="theme" locus="number" gender="neut">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="neut">
+    <np def="def" role="obj" tr="rheme" locus="number" gender="neut">
      <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 markowned:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np def="def" role="subj" tr="theme" locus="number" gender="neut">
+    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np def="def" role="obj" tr="rheme" locus="number" gender="neut">
+    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <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 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" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <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.neut" obj="3.neut">
      <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" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="mouse"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="chase"/>
    </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" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for chase/verb/question/obligatory
Got not.Q
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut"/>
    </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" gender="neut" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut" ph="u &#x2C8; k&#x2B0;&#x2B7; e p i w">uˈkʰʷepiw</word>
  </flat>
</example>

vowelharmony:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut" ph="u &#x2C8; k&#x2B0;&#x2B7; e p i w">uˈkʰʷepiw</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut" ph="u &#x2C8; k&#x2B0;&#x2B7; o p u w" underlying="u &#x2C8; k&#x2B0;&#x2B7; e p i w">uˈkʰʷopuw</word>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut" ph="u &#x2C8; k&#x2B0;&#x2B7; o p u w" underlying="u &#x2C8; k&#x2B0;&#x2B7; e p i w">uˈkʰʷopuw</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.neut" obj="3.neut" underlying="u &#x2C8; k&#x2B0;&#x2B7; e p i w">uˈkʰʷopuw</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;fiˈqeːw&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;-iɾ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈukʰʷepiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzoduɾ fiˈqeːwiɾ ˈpukʰʷopuw</p>
+  <p>zodur fiqeewir puquhopuw</p>
+  <il>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈukʰʷepiw</o>
+      <g>chase</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="neut">
      <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 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" gender="neut">
+    <np def="def" role="subj" tr="theme" locus="number" gender="neut">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="neut">
+    <np def="def" role="obj" tr="rheme" locus="number" gender="neut">
      <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut">
      <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" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="mouse"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </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" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <np def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.neut" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

vowelharmony:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut" ph="b e j">bej</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" gender="neut" possessor="no.owner">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.neut" obj="3.neut">iˈɾ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.neut">bej</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;fiˈqeːw&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&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;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.neut&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzoduɾ fiˈqeːwiɾ miɡ ˈpiɾ bej</p>
+  <p>zodur fiqeewir mig pir bey</p>
+  <il>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiɾ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>bej</o>
+      <g>active.POS.3.neut</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 embed:

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

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" gender="neut">
      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="neut">
          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="neut">
          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="neut">
          <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 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" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np role="obj" tr="rheme" gender="neut">
+    <np role="obj" tr="rheme" gender="neut" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="neut">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number" gender="neut">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number" gender="neut">
          <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" gender="masc">
+    <np def="def" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np role="obj" tr="rheme" gender="neut" number="plur">
+    <np role="obj" tr="rheme" gender="neut">
      <conjp conj="and">
-        <np def="def" number="plur" locus="number" gender="neut">
+        <np def="def" locus="number" gender="neut">
          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur" locus="number" gender="neut">
+        <np def="def" locus="number" gender="neut">
          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur" locus="number" gender="neut">
+        <np def="def" locus="number" gender="neut">
          <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme" gender="neut" possessor="no.owner">
-      <conjp conj="and">
-        <np def="def" locus="number" gender="neut" possessor="no.owner">
+      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" locus="number" gender="neut" possessor="no.owner">
+      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" locus="number" gender="neut" possessor="no.owner">
+      <np def="def" locus="number" gender="neut" possessor="no.owner" 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" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme" gender="neut" possessor="no.owner">
      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" locus="number" gender="neut" possessor="no.owner" 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.masc" obj="3.neut">
      <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" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme" gender="neut" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
+        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
+        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
+        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <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.masc" obj="3.neut">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np role="obj" tr="rheme" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <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.masc" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="kill"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.masc" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for hunter/noun/case/obligatory
Got NOM
About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for tiger/noun/case/obligatory
Got NOM
About to call getSlotValue for lion/noun/case/obligatory
Got NOM
About to call getSlotValue for kill/verb/question/obligatory
Got not.Q
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="&#x294; i k a &#x2C8; f">ʔikaˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="k&#x2B0;&#x2B7; a t&#x361;&#x283; o&#x2D0; &#x2C8; z">kʰʷat͡ʃoːˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="f a n o &#x2C8; v">fanoˈv</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut" ph="u &#x2C8; h">uˈh</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="&#x294; i k a &#x2C8; f">ʔikaˈf</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="k&#x2B0;&#x2B7; a t&#x361;&#x283; o&#x2D0; &#x2C8; z">kʰʷat͡ʃoːˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="f a n o &#x2C8; v">fanoˈv</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut" ph="u &#x2C8; h">uˈh</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="q i b i &#x2C8; q&#x2B7;">qibiˈqʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="&#x294; i k a &#x2C8; f">ʔikaˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="k&#x2B0;&#x2B7; a t&#x361;&#x283; o&#x2D0; &#x2C8; z">kʰʷat͡ʃoːˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <word posp="conj" gloss="and" ph="j a &#x2C8; h">jaˈh</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="f a n o &#x2C8; v">fanoˈv</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut" ph="u &#x2C8; h">uˈh</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">qibiˈqʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">ʔikaˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="conj" gloss="and">jaˈh</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">kʰʷat͡ʃoːˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <word posp="conj" gloss="and">jaˈh</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">fanoˈv</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" obj="3.neut">uˈh</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiˈbiqʷ&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;-iɾ&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;ʔiˈkaf&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;-iɾ&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;ˈjah&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;kʰʷaˈt͡ʃoːz&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;-iɾ&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;ˈjah&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;faˈnov&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈuh&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;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiˈbiqʷiɾ ʔiˈkafiɾ ˈjah kʰʷaˈt͡ʃoːzuɾ ˈjah faˈnovuɾ miɡ ˈpuh kʰʷaɲ</p>
+  <p>qibiqwir ’ikafir yah quhachoozur yah fanovur mig puh quhañ</p>
+  <il>
+    <w>
+      <o>qiˈbiqʷ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʔiˈkaf</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈjah</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>kʰʷaˈt͡ʃoːz</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈjah</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>faˈnov</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈuh</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</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 embed:

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

<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>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut">
      <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 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" gender="neut">
+    <np def="def" tr="rheme" role="obj" locus="number" gender="neut">
      <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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.neut"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp1" translation="I patted the cat.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.neut">iːˈmipʰam</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɾat</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːmipʰam&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;ɾat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzoduɾ miɡ ˈpiːmipʰam ɾat</p>
+  <p>zodur mig piimipham rat</p>
+  <il>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːmipʰam</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɾat</o>
+      <g>active.POS.1excl</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 embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <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 role="obj" gender="fem" number="sing">
-      <np type="owner_owned" gender="neut" number="sing">
-        <np def="def" number="sing" role="owned" locus="number" gender="neut">
+    <np role="obj" gender="fem">
+      <np type="owner_owned" gender="neut">
+        <np def="def" role="owned" locus="number" gender="neut">
          <word posp="noun" gloss="cat"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="fem">
+        <np role="owner" case="GEN" gender="fem">
          <subs>
-            <np def="def" number="sing" role="obj" locus="number" gender="neut">
+            <np def="def" role="obj" locus="number" gender="neut">
              <word posp="noun" gloss="mouse"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="catch"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <subs>
-        <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i &#x2C8; &#x27E;">iˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" gender="neut" possessor="no.owner">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">iˈɾ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">iːˈmipʰam</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɾat</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;fiˈqeːw&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&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;catch&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;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːmipʰam&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;ɾat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaw ˈzoduɾ fiˈqeːwiɾ miɡ ˈpiɾ miɡ ˈpiːmipʰam ɾat</p>
+  <p>qaw zodur fiqeewir mig pir mig piimipham rat</p>
+  <il>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiɾ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːmipʰam</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɾat</o>
+      <g>active.POS.1excl</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 embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np role="obj" gender="fem" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <np type="owner_owned" gender="neut">
        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
+          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
          <word posp="noun" gloss="cat"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
+          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <np role="obj" gender="fem" possessor="no.owner">
+              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <np type="owner_owned" gender="neut">
                <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
+                  <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
                  <word posp="noun" gloss="mouse"/>
                </np>
                <np role="owner" case="GEN" gender="fem" possessor="no.owner">
+                  <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
                  <subs>
                    <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
+                      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
                      <word posp="noun" gloss="cheese"/>
                    </np>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
+                      <thingy type="vpta" function="proclitic" gloss="PAST"/>
                      <word posp="verb" gloss="eat"/>
+                      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                    </vp>
                  </subs>
                </np>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
+              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <word posp="verb" gloss="catch"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np role="obj" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <np type="owner_owned" gender="neut">
+    <np type="owner_owned" gender="neut" role="obj" possessor="no.owner">
      <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
        <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <np role="owner" case="GEN" gender="fem" possessor="no.owner">
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <subs>
-            <np role="obj" gender="fem" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-              <np type="owner_owned" gender="neut">
+          <np type="owner_owned" gender="neut" role="obj" possessor="no.owner">
            <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
              <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
              <word posp="noun" gloss="mouse"/>
            </np>
            <np role="owner" case="GEN" gender="fem" possessor="no.owner">
              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <subs>
                <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
                  <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
                  <word posp="noun" gloss="cheese"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
                  <word posp="verb" gloss="eat"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                </vp>
              </subs>
            </np>
          </np>
-            </np>
          <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
            <thingy type="vpta" function="proclitic" gloss="PAST"/>
            <word posp="verb" gloss="catch"/>
            <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          </vp>
        </subs>
      </np>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np type="owner_owned" gender="neut" role="obj" possessor="no.owner">
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-          <np type="owner_owned" gender="neut" role="obj" possessor="no.owner">
        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
          <word posp="noun" gloss="mouse"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <word posp="noun" gloss="cheese"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <word posp="verb" gloss="eat"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
-          </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <word posp="verb" gloss="catch"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
-              <word posp="verb" gloss="eat"/>
+              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
          <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+              <thingy type="nouncase" function="suffix" gloss="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <subs>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-          <subs>
-            <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-            </vp>
-          </subs>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷehuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="a &#x2C8; f">aˈf</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷehuːˈɡʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; o h u&#x2D0; &#x2C8; &#x261;&#x2B7;" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="a &#x2C8; f">aˈf</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; o h u&#x2D0; &#x2C8; &#x261;&#x2B7;" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="a &#x2C8; f">aˈf</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">aˈf</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">iˈɾ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">iːˈmipʰam</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɾat</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fiˈqeːw&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;-iɾ&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;ɡʷeˈhuːɡʷ&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈaf&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&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;catch&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;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːmipʰam&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;ɾat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaw ˈzoduɾ qaw fiˈqeːwiɾ ɡʷoˈhuːɡʷuɾ miɡ ˈpaf miɡ ˈpiɾ miɡ ˈpiːmipʰam ɾat</p>
+  <p>qaw zodur qaw fiqeewir gwohuugwur mig paf mig pir mig piimipham rat</p>
+  <il>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡʷeˈhuːɡʷ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈaf</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiɾ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːmipʰam</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɾat</o>
+      <g>active.POS.1excl</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 embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

<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 role="obj" gender="fem" number="sing">
-      <np type="owner_owned" gender="neut" number="sing">
-        <np def="def" number="sing" role="owned" locus="number" gender="neut">
+    <np role="obj" gender="fem">
+      <np type="owner_owned" gender="neut">
+        <np def="def" role="owned" locus="number" gender="neut">
          <word posp="noun" gloss="cat"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="fem">
+        <np role="owner" case="GEN" gender="fem">
          <subs>
-            <np role="obj" gender="fem" number="sing">
-              <np type="owner_owned" gender="neut" number="sing">
-                <np def="def" number="sing" role="owned" locus="number" gender="neut">
+            <np role="obj" gender="fem">
+              <np type="owner_owned" gender="neut">
+                <np def="def" role="owned" locus="number" gender="neut">
                  <word posp="noun" gloss="mouse"/>
                </np>
-                <np role="owner" number="sing" case="GEN" gender="fem">
+                <np role="owner" case="GEN" gender="fem">
                  <subs>
-                    <np role="obj" gender="fem" number="sing">
-                      <np type="owner_owned" gender="fem" number="sing">
-                        <np number="sing" def="neither" role="owned" locus="number">
-                          <word person="1excl" number="sing" posp="pron"/>
+                    <np role="obj" gender="fem">
+                      <np type="owner_owned" gender="fem">
+                        <np def="neither" role="owned" locus="number">
+                          <word person="1excl" posp="pron"/>
                        </np>
-                        <np role="owner" number="sing" case="GEN" gender="fem">
+                        <np role="owner" case="GEN" gender="fem">
                          <subs>
-                            <np def="def" number="sing" role="obj" locus="number" gender="neut">
+                            <np def="def" role="obj" locus="number" gender="neut">
                              <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>
                          </subs>
                        </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>
                  </subs>
                </np>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="catch"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
About to call getSlotValue for buy/verb/question/obligatory
Got not.Q
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
          <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="1excl">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
            <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl" gender="fem">
              <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
              <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem"/>
            </np>
            <np role="owner" case="GEN" gender="fem" possessor="no.owner">
              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <subs>
                <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
                  <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
                  <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+                  <thingy type="nouncase" function="suffix" gloss="NOM"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
+                  <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                </vp>
              </subs>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
+  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np role="owner" case="GEN" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <subs>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-        <np def="def" role="owned" locus="number" gender="neut" possessor="3.fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-        <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="1excl">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-          <subs>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-            <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl" gender="fem">
    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem"/>
-            </np>
-            <np role="owner" case="GEN" gender="fem" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-              <subs>
-                <np def="def" role="obj" locus="number" gender="neut" possessor="no.owner">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-                </vp>
-              </subs>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-            </vp>
-          </subs>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" ph="t a &#x2C8; q">taˈq</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷehuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i&#x2D0; &#x2C8; t">iːˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="a &#x2C8; f">aˈf</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" ph="t a &#x2C8; q">taˈq</word>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷehuːˈɡʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; o h u&#x2D0; &#x2C8; &#x261;&#x2B7;" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i&#x2D0; &#x2C8; t">iːˈt</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="a &#x2C8; f">aˈf</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="z o &#x2C8; d">zoˈd</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem" ph="f i q e&#x2D0; &#x2C8; w">fiqeːˈw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" ph="t a &#x2C8; q">taˈq</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" ph="&#x261;&#x2B7; o h u&#x2D0; &#x2C8; &#x261;&#x2B7;" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="u &#x27E;" underlying="i &#x27E;">uɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut" ph="i&#x2D0; &#x2C8; t">iːˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="a &#x2C8; f">aˈf</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem" ph="i &#x2C8; &#x27E;">iˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem" ph="i&#x2D0; &#x2C8; m i p&#x2B0; a m">iːˈmipʰam</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x27E; a t">ɾat</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="neut" possessor="3.fem">zoˈd</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="neut" possessor="3.fem">fiqeːˈw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem">taˈq</word>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" gender="neut" possessor="no.owner" underlying="&#x261;&#x2B7; e h u&#x2D0; &#x2C8; &#x261;&#x2B7;">ɡʷohuːˈɡʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" underlying="i &#x27E;">uɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.neut">iːˈt</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">aˈf</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.fem">iˈɾ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3.fem">iːˈmipʰam</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɾat</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzod&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fiˈqeːw&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;-iɾ&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;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaq&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;ɡʷeˈhuːɡʷ&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːt&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈaf&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&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;catch&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;&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈiːmipʰam&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;ɾat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaw ˈzoduɾ qaw fiˈqeːwiɾ qaw ˈtaq ɡʷoˈhuːɡʷuɾ miɡ ˈpiːt miɡ ˈpaf miɡ ˈpiɾ miɡ ˈpiːmipʰam ɾat</p>
+  <p>qaw zodur qaw fiqeewir qaw taq gwohuugwur mig piit mig paf mig pir mig piimipham rat</p>
+  <il>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈzod</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>fiˈqeːw</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈtaq</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ɡʷeˈhuːɡʷ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːt</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈaf</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiɾ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈiːmipʰam</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɾat</o>
+      <g>active.POS.1excl</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"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="masc" possessor="3.fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="apple" role="obj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.fem" obj="3.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" indobj="3.neut"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="masc" possessor="3.fem" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner" ph="k&#x2B0; a &#x2C8; k&#x2B0;&#x2B7;">kʰaˈkʰʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" gender="fem" possessor="no.owner" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.fem" obj="3.fem" ph="&#x259;# &#x2C8; q">ə#ˈq</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" gender="neut" possessor="no.owner" ph="s e s a&#x2D0; &#x272;">sesaːɲ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" indobj="3.neut" ph="a &#x2C8; &#x27E; a &#x27E; e w">aˈɾaɾew</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="masc" possessor="3.fem" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner" ph="k&#x2B0; a &#x2C8; k&#x2B0;&#x2B7;">kʰaˈkʰʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" gender="fem" possessor="no.owner" ph="z a &#x27E; i &#x2C8; f">zaɾiˈf</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.fem" obj="3.fem" ph="&#x259;# &#x2C8; q">ə#ˈq</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" gender="neut" possessor="no.owner" ph="s e s a&#x2D0; &#x272;">sesaːɲ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" indobj="3.neut" ph="a &#x2C8; &#x27E; a &#x27E; e w">aˈɾaɾew</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem" ph="q&#x2B7; e s">qʷes</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="masc" possessor="3.fem">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner">kʰaˈkʰʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" gender="fem" possessor="no.owner">zaɾiˈf</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.fem" obj="3.fem">ə#ˈq</word>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" gender="neut" possessor="no.owner">sesaːɲ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.fem" indobj="3.neut">aˈɾaɾew</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.fem">qʷes</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲiːm&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;-iɾ&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;ˈkʰakʰʷ&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;-iɾ&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;zaˈɾif&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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈə̃q&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;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;-iɾ&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;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈaɾaɾew&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;qʷes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaw ˈɲiːmiɾ ˈkʰakʰʷiɾ zaˈɾifiɾ miɡ ˈpə̃q sesaːɲiɾ miɡ ˈpaɾaɾew qʷes</p>
+  <p>qaw ñiimir khaquhir zarifir mig pẽq sesaañir mig pararew qwes</p>
+  <il>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈɲiːm</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈkʰakʰʷ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>zaˈɾif</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈə̃q</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>sesaːɲ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈaɾaɾew</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>qʷes</o>
+      <g>active.POS.3.fem</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 embed:

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

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme">
-      <np type="owner_owned">
+    <np role="obj" tr="rheme" gender="fem" number="sing">
+      <np type="owner_owned" gender="fem" 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">
+        <np role="owner" number="sing" case="GEN" gender="fem">
          <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:

No change.

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" gender="masc">
+    <np def="def" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
+    <np def="def" tr="theme" role="indobj" locus="number" gender="fem">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="fem" number="sing">
-      <np type="owner_owned" gender="fem" number="sing">
-        <np number="sing" def="neither" role="owned" locus="number">
-          <word person="1excl" number="sing" posp="pron"/>
+    <np role="obj" tr="rheme" gender="fem">
+      <np type="owner_owned" gender="fem">
+        <np def="neither" role="owned" locus="number">
+          <word person="1excl" posp="pron"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="fem">
+        <np role="owner" case="GEN" gender="fem">
          <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 markowned:

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

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" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" gender="fem" possessor="no.owner">
      <np type="owner_owned" gender="fem">
        <np def="neither" role="owned" locus="number" possessor="3.fem">
-          <word person="1excl" posp="pron"/>
+          <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
          <subs>
            <np def="neither" role="obj" locus="number" possessor="no.owner">
-              <word person="2" posp="pron"/>
+              <word person="2" posp="pron" gloss="2" gender="neut"/>
            </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" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="fem" possessor="no.owner">
+    <np role="obj" tr="rheme" gender="fem" possessor="no.owner" person="1excl">
      <np type="owner_owned" gender="fem">
-        <np def="neither" role="owned" locus="number" possessor="3.fem">
+        <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl">
          <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
        </np>
-        <np role="owner" case="GEN" gender="fem" possessor="no.owner">
+        <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="2">
          <subs>
-            <np def="neither" role="obj" locus="number" possessor="no.owner">
+            <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
              <word person="2" posp="pron" gloss="2" gender="neut"/>
            </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.masc" indobj="3.fem" 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" gender="masc" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" gender="fem" possessor="no.owner" person="1excl">
+      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <np type="owner_owned" gender="fem">
        <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl">
+          <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
          <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
        </np>
        <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="2">
+          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <subs>
            <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
+              <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
              <word person="2" posp="pron" gloss="2" gender="neut"/>
            </np>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
+              <thingy type="vpta" function="proclitic" gloss="PRES"/>
              <word posp="verb" gloss="love"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="fem" possessor="no.owner" person="1excl">
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <np type="owner_owned" gender="fem">
+    <np type="owner_owned" gender="fem" role="obj" tr="rheme" possessor="no.owner" person="1excl">
      <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl">
        <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
        <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
      </np>
      <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="2">
        <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
        <subs>
          <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
            <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
            <word person="2" posp="pron" gloss="2" gender="neut"/>
          </np>
          <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
            <thingy type="vpta" function="proclitic" gloss="PRES"/>
            <word posp="verb" gloss="love"/>
            <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          </vp>
        </subs>
      </np>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="tell"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <word posp="noun" gloss="girl"/>
    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <np type="owner_owned" gender="fem" role="obj" tr="rheme" possessor="no.owner" person="1excl">
-      <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl">
+    <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl" gender="fem" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="2">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
          <word person="2" posp="pron" gloss="2" gender="neut"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
          <word posp="verb" gloss="love"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <word posp="verb" gloss="tell"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </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" gender="masc" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
    <np def="neither" role="owned" locus="number" possessor="3.fem" person="1excl" gender="fem" tr="rheme">
      <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-      <word person="1excl" posp="pron" gloss="1excl" gender="neut"/>
+      <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" tr="rheme"/>
    </np>
    <np role="owner" case="GEN" gender="fem" possessor="no.owner" person="2">
      <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
      <subs>
        <np def="neither" role="obj" locus="number" possessor="no.owner" person="2">
          <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-          <word person="2" posp="pron" gloss="2" gender="neut"/>
+          <word person="2" posp="pron" gloss="2" gender="neut" def="neither" role="obj" locus="number" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
-          <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="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
-      <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.masc" indobj="3.fem" obj="1excl"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" tr="rheme"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner"/>
-    <word person="2" posp="pron" gloss="2" gender="neut" def="neither" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc"/>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="k&#x2B0; a &#x2C8; k&#x2B0;&#x2B7;">kʰaˈkʰʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" tr="rheme" ph="t a &#x2C8; q">taˈq</word>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="2" posp="pron" gloss="2" gender="neut" def="neither" role="obj" locus="number" possessor="no.owner" ph="&#x261; i &#x2C8; d">ɡiˈd</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl" ph="a &#x2C8; q">aˈq</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; i&#x2D0; &#x2C8; m">ɲiːˈm</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="k&#x2B0; a &#x2C8; k&#x2B0;&#x2B7;">kʰaˈkʰʷ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS" ph="q a w">qaw</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" tr="rheme" ph="t a &#x2C8; q">taˈq</word>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="proclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="2" posp="pron" gloss="2" gender="neut" def="neither" role="obj" locus="number" possessor="no.owner" ph="&#x261; i &#x2C8; d">ɡiˈd</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="e&#x2D0; &#x2C8; &#x27E;">eːˈɾ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="m i &#x261;">miɡ</thingy>
-    <thingy type="verbquestion" function="prefix" gloss="not.Q" attach="prefix" ph="p">p</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl" ph="a &#x2C8; q">aˈq</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc" ph="k&#x2B0;&#x2B7; a &#x272;">kʰʷaɲ</thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">ɲiːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">kʰaˈkʰʷ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">iɾ</thingy>
+    <thingy type="nppossessor" function="proclitic" gloss="3.fem.POSS">qaw</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="neut" def="neither" role="owned" locus="number" possessor="3.fem" tr="rheme">taˈq</word>
+    <word person="2" posp="pron" gloss="2" gender="neut" def="neither" role="obj" locus="number" possessor="no.owner">ɡiˈd</word>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">eːˈɾ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">miɡ</thingy>
+    <thingy type="verbquestion" function="prefix" gloss="not.Q">p</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.masc" indobj="3.fem" obj="1excl">aˈq</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.masc">kʰʷaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲiːm&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;-iɾ&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;ˈkʰakʰʷ&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;-iɾ&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;qaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.fem.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaq&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;ˈɡid&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈeːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miɡ&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;p-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈaq&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;kʰʷaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɲiːmiɾ ˈkʰakʰʷiɾ qaw ˈtaq ˈɡid ˈpeːɾ miɡ ˈpaq kʰʷaɲ</p>
+  <p>ñiimir khaquhir qaw taq gid peer mig paq quhañ</p>
+  <il>
+    <w>
+      <o>ˈɲiːm</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈkʰakʰʷ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qaw</o>
+      <g>3.fem.POSS</g>
+    </w>
+    <w>
+      <o>ˈtaq</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ˈɡid</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈeːɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>p-</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈaq</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>kʰʷaɲ</o>
+      <g>active.POS.3.masc</g>
+    </w>
+  </il>
</example>