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

No change.

module adpositions:

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

module casemarking:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="masc"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="adjgender" function="suffix" gloss="masc"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" possessor="no.owner" ph="&#x28B; a&#x2D0; z">ʋaːz</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; a p u&#x2D0; k">ɲapuːk</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="p a &#x14B;">paŋ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="p o &#x261;">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ" ph="m i &#x261;">miɡ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="l u">lu</word>
+    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="d a k&#x2B0;">dakʰ</word>
+    <thingy type="adjgender" function="suffix" gloss="masc" attach="suffix" ph="i &#x28B;">iʋ</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="d u t">dut</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" possessor="no.owner" ph="&#x28B; a&#x2D0; z">ʋaːz</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; a p u&#x2D0; k">ɲapuːk</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="p a &#x14B;">paŋ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="p o &#x261;">poɡ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ" ph="m i &#x261;">miɡ</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="l u">lu</word>
-    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="d a k&#x2B0;">dakʰ</word>
-    <thingy type="adjgender" function="suffix" gloss="masc" attach="suffix" ph="i &#x28B;">iʋ</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="d u t">dut</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" possessor="no.owner">ʋaːz</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">ɲapuːk</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="masc" possessor="no.owner">paŋ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC">k</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ">miɡ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner">lu</word>
+    <thingy type="detgender" function="suffix" gloss="masc">l</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner">dakʰ</word>
+    <thingy type="adjgender" function="suffix" gloss="masc">iʋ</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" possessor="no.owner">dut</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋaːz&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲapuːk&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;paŋ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poɡ&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;-os&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;miɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lu&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;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&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;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dakʰ&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;-iʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dut&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʋaːzihid ɲapuːk paŋuhik poɡose peʋ miɡ lul biɡokumid dakʰiʋ dut</p>
+  <p>ваазигид њапуук паӈугик поґосе пев миґ лул биґокумид дақив дут</p>
+  <il>
+    <w>
+      <o>ʋaːz</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲapuːk</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>paŋ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>poɡ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-os</o>
+      <g>3.sing.fem.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>3.plur.masc.OBJ</g>
+    </w>
+    <w>
+      <o>lu</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>dakʰ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-iʋ</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>dut</o>
+      <g>three</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/subj/obligatory
Got 3.sing.masc
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.sing.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="fem" possessor="no.owner">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.sing.masc" obj="3.sing.fem">
+  <flat>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="fem" possessor="no.owner">
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="k&#x2B0; e r">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner" ph="t e&#x2D0; &#x14B;">teːŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="k&#x2B0; e r">kʰer</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner" ph="t e&#x2D0; &#x14B;">teːŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner">teːŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰer&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰerore liɲ teːŋ</p>
+  <p>қероре лињ тееӈ</p>
+  <il>
+    <w>
+      <o>kʰer</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>teːŋ</o>
+      <g>3.sing.fem</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 complementise:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner" ph="m u n">mun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="k&#x2B0; e r">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner" ph="t e&#x2D0; &#x14B;">teːŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner" ph="m u n">mun</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="k&#x2B0; e r">kʰer</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner" ph="t e&#x2D0; &#x14B;">teːŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" possessor="no.owner">mun</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" possessor="no.owner">teːŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰer&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mun kʰerore liɲ teːŋ</p>
+  <p>мун қероре лињ тееӈ</p>
+  <il>
+    <w>
+      <o>mun</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>kʰer</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>teːŋ</o>
+      <g>3.sing.fem</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Hokid hates Kemav.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="Hokid" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes" ph="h o k&#x2B0; i d">hokʰid</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="&#x272; e &#x28B; o &#x28B;">ɲeʋoʋ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="Kemav" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes" ph="k e m a &#x28B;">kemaʋ</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Hokid hates Kemav.">
  <flat>
-    <word posp="noun" gloss="Hokid" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes" ph="h o k&#x2B0; i d">hokʰid</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="&#x272; e &#x28B; o &#x28B;">ɲeʋoʋ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="Kemav" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes" ph="k e m a &#x28B;">kemaʋ</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Hokid" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" propernoun="yes">hokʰid</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">ɲeʋoʋ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="Kemav" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" possessor="no.owner" propernoun="yes">kemaʋ</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hokʰid&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Hokid&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲeʋoʋ&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kemaʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kemav&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hokʰiduhid ɲeʋoʋore liɲ kemaʋihid</p>
+  <p>Гоқидугид њевоворе лињ Кемавигид</p>
+  <il>
+    <w>
+      <o>hokʰid</o>
+      <g>Hokid</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲeʋoʋ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>kemaʋ</o>
+      <g>Kemav</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned">
-    <np number="sing" def="def" locus="number" role="owner">
+  <np type="owner_owned" gender="neut">
+    <np number="sing" def="def" locus="number" role="owner" 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="neut">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" gender="neut">
+  <np type="owner_owned" gender="neut" number="sing">
    <np number="sing" def="def" locus="number" role="owner" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="neut">
      <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="neut" number="sing">
-    <np number="sing" def="def" locus="number" role="owner" gender="masc">
+    <np number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="neut">
+    <np number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</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 apple/noun/gender/obligatory
Got neut
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/def/obligatory
Got def
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for boy/noun/gender/obligatory
Got masc
About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/def/obligatory
Got def
About to call getSlotValue for boy/noun/case/obligatory
Got NOM
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc"/>
+    <thingy type="noungender" function="suffix" gloss="neut"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner"/>
+    <thingy type="noungender" function="suffix" gloss="masc"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc" ph="s o b e t">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc" ph="s o b e t">sobet</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sobet&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;ɲud&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sobetehid ɡuk ɲuduhid</p>
+  <p>собетегид ґук њудугид</p>
+  <il>
+    <w>
+      <o>sobet</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>ɲud</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</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 complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

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">
+  <np type="owner_owned" gender="neut">
+    <np number="sing" def="def" output="aspron" locus="number" role="owner" 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="neut">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

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

createpronouns:

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

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc" ph="s o b e t">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" possessor="no.owner" ph="m u n">mun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc" ph="s o b e t">sobet</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" possessor="no.owner" ph="m u n">mun</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.masc">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" possessor="no.owner">mun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sobet&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;mun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sobetehid ɡuk mun</p>
+  <p>собетегид ґук мун</p>
+  <il>
+    <w>
+      <o>sobet</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>mun</o>
+      <g>3.sing.masc</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 complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing" ph="s o b e t">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="h a r">har</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing" ph="s o b e t">sobet</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="h a r">har</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="1excl.sing">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS">har</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sobet&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;har&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sobetehid har</p>
+  <p>собетегид гар</p>
+  <il>
+    <w>
+      <o>sobet</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>har</o>
+      <g>1excl.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc" ph="m a z">maz</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="k&#x2B0; o &#x28B; e&#x2D0; d">kʰoʋeːd</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="b a&#x2D0; x">baːx</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing" ph="n a m e r">namer</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="t e b">teb</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc" ph="m a z">maz</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="k&#x2B0; o &#x28B; e&#x2D0; d">kʰoʋeːd</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="b a&#x2D0; x">baːx</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing" ph="n a m e r">namer</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="t e b">teb</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc">maz</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">kʰoʋeːd</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">baːx</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">namer</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">teb</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;maz&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;zudiɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰoʋeːd&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;-os&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;baːx&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;namer&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mazihid ɡuk zudiɡuhid kʰoʋeːdose peʋ tel baːxuhid ɡuk nameruhid teb</p>
+  <p>мазигид ґук зудиґугид қовеедосе пев тел баахугид ґук намеругид теб</p>
+  <il>
+    <w>
+      <o>maz</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>zudiɡ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kʰoʋeːd</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-os</o>
+      <g>3.sing.fem.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>baːx</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>namer</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>teb</o>
+      <g>2.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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="masc">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for a/det/gender/obligatory
Got masc
About to call getSlotValue for lamb/noun/gender/obligatory
Got masc
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
About to call getSlotValue for lamb/noun/def/obligatory
Got not.def
About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="masc"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
+    <thingy type="noungender" function="suffix" gloss="masc"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="not.def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="masc"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="not.def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="masc"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="not.def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="p o&#x2D0;">poː</word>
+    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="&#x261; a x a x">ɡaxax</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="p o&#x2D0;">poː</word>
-    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="&#x261; a x a x">ɡaxax</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner">poː</word>
+    <thingy type="detgender" function="suffix" gloss="masc">l</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" possessor="no.owner">ɡaxax</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡaxax&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>poːl ɡaxaxuhed</p>
+  <p>поол ґахахугед</p>
+  <il>
+    <w>
+      <o>poː</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>ɡaxax</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="fem" possessor="no.owner">
-      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
-      <word posp="verb" gloss="want"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for subj/
defaultval: verb, subj
returning 3.sing.masc
calling defaultval for def/
defaultval: noun, def
returning not.def
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for want/verb/subj/obligatory
Got 3.sing.fem
About to call getSlotValue for want/verb/question/obligatory
Got not.Q
About to call getSlotValue for have/verb/subj/obligatory
Got 3.sing.masc
About to call getSlotValue for have/verb/question/obligatory
Got not.Q
About to call getSlotValue for a/det/gender/obligatory
Got masc
About to call getSlotValue for lamb/noun/gender/obligatory
Got masc
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
About to call getSlotValue for lamb/noun/def/obligatory
Got not.def
About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for little/adj/gender/obligatory
Got masc
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="masc"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="masc"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="not.def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <thingy type="adjgender" function="suffix" gloss="masc"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np role="obj" gender="fem" number="sing" possessor="no.owner">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="masc"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="not.def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="adjgender" function="suffix" gloss="masc"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="masc"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="not.def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="adjgender" function="suffix" gloss="masc"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="k e&#x2D0; z">keːz</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" ph="&#x261; e s">ɡes</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="p o&#x2D0;">poː</word>
+    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="&#x261; a x a x">ɡaxax</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="d a&#x2D0; &#x272;">daːɲ</word>
+    <thingy type="adjgender" function="suffix" gloss="masc" attach="suffix" ph="i &#x28B;">iʋ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="k e&#x2D0; z">keːz</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" ph="&#x261; e s">ɡes</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="p o&#x2D0;">poː</word>
-    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="&#x261; a x a x">ɡaxax</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner" ph="d a&#x2D0; &#x272;">daːɲ</word>
-    <thingy type="adjgender" function="suffix" gloss="masc" attach="suffix" ph="i &#x28B;">iʋ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">keːz</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">ɡes</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">poː</word>
+    <thingy type="detgender" function="suffix" gloss="masc">l</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">ɡaxax</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" possessor="no.owner">daːɲ</word>
+    <thingy type="adjgender" function="suffix" gloss="masc">iʋ</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;keːz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-os&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡes&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡaxax&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːɲ&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;-iʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>keːzose peʋ liɲ ɡesore peʋ tel poːl ɡaxaxuhed daːɲiʋ xaziːr</p>
+  <p>кеезосе пев лињ ґесоре пев тел поол ґахахугед даањив хазиир</p>
+  <il>
+    <w>
+      <o>keːz</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-os</o>
+      <g>3.sing.fem.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>ɡes</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>poː</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>ɡaxax</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːɲ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-iʋ</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/subj/obligatory
Got 1excl.sing
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.sing" obj="2.sing">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" possessor="no.owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.sing" obj="2.sing">
+  <flat>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" possessor="no.owner" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k&#x2B0; e r">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="x a z">xaz</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner" ph="p&#x2B0; e&#x2D0; &#x261;">pʰeːɡ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k&#x2B0; e r">kʰer</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="x a z">xaz</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner" ph="p&#x2B0; e&#x2D0; &#x261;">pʰeːɡ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ">xaz</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner">pʰeːɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰer&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰeːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰerihe xaz pʰeːɡ</p>
+  <p>қериге хаз ԥееґ</p>
+  <il>
+    <w>
+      <o>kʰer</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>pʰeːɡ</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

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

module propagatenumber:

No change.

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" number="sing" locus="number" case="LOC" gender="masc">
+    <np def="def" number="sing" locus="number" case="LOC" 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" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="table"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="d a &#x261;">daɡ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="k&#x2B0; o s+t">kʰost</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="d a &#x261;">daɡ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="k&#x2B0; o s+t">kʰost</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">daɡ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">kʰost</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC">k</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰost&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>daɡ kʰostuhik</p>
+  <p>даґ қостугик</p>
+  <il>
+    <w>
+      <o>daɡ</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>kʰost</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

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

module propagatenumber:

No change.

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" number="sing" locus="number" case="LOC" gender="masc">
+    <np def="def" number="sing" locus="number" case="LOC" 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" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="box"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="&#x261; a n">ɡan</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="x i x e&#x2D0; &#x272;">xixeːɲ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="&#x261; a n">ɡan</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner" ph="x i x e&#x2D0; &#x272;">xixeːɲ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="k">k</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">ɡan</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="masc" possessor="no.owner">xixeːɲ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC">k</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡan&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;xixeːɲ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡan xixeːɲuhik</p>
+  <p>ґан хихеењугик</p>
+  <il>
+    <w>
+      <o>ɡan</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>xixeːɲ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; a p u&#x2D0; k">ɲapuːk</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; a p u&#x2D0; k">ɲapuːk</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">ɲapuːk</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" possessor="no.owner">ɡaŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲapuːk&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;ɡaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲapuːk ɡaŋ</p>
+  <p>њапуук ґаӈ</p>
+  <il>
+    <w>
+      <o>ɲapuːk</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ɡaŋ</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="n e d o p&#x2B0;">nedopʰ</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="k&#x2B0; i&#x2D0; t">kʰiːt</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" possessor="no.owner" ph="n e d o p&#x2B0;">nedopʰ</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="k&#x2B0; i&#x2D0; t">kʰiːt</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" possessor="no.owner">nedopʰ</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">kʰiːt</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" possessor="no.owner">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nedopʰ&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰiːt&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zudiɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nedopʰehid kʰiːtele peʋ tel zudiɡuhid</p>
+  <p>недоԥегид қиителе пев тел зудиґугид</p>
+  <il>
+    <w>
+      <o>nedopʰ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kʰiːt</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>zudiɡ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.fem"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" possessor="no.owner" ph="k&#x2B0; a b a l">kʰabal</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut" ph="b e p&#x2B0;">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.fem" ph="d i &#x28B;">diʋ</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.fem.POSS" ph="&#x272; o h">ɲoh</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc" ph="m a z">maz</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" possessor="no.owner" ph="k&#x2B0; a b a l">kʰabal</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut" ph="b e p&#x2B0;">bepʰ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.fem" ph="d i &#x28B;">diʋ</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.fem.POSS" ph="&#x272; o h">ɲoh</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc" ph="m a z">maz</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" possessor="no.owner">kʰabal</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ">ʋix</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="neut" possessor="3.sing.fem">diʋ</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.fem.POSS">ɲoh</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" possessor="3.sing.masc">maz</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" possessor="no.owner">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰabal&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bepʰ&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ʋix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diʋ&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲoh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;maz&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;zudiɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰabaluhid bepʰore peʋ ʋix diʋehid ɲoh mazihid ɡuk zudiɡuhid</p>
+  <p>қабалугид беԥоре пев вих дивегид њог мазигид ґук зудиґугид</p>
+  <il>
+    <w>
+      <o>kʰabal</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bepʰ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʋix</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>diʋ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲoh</o>
+      <g>3.sing.fem.POSS</g>
+    </w>
+    <w>
+      <o>maz</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>zudiɡ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

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="masc">
+    <np type="owner_owned" role="owner" gender="masc">
+      <np type="owner_owned" role="owner" gender="masc">
        <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">
+        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <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" gender="masc">
        <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="masc">
      <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="masc">
-    <np type="owner_owned" role="owner" gender="masc">
-      <np type="owner_owned" role="owner" gender="masc">
+  <np type="owner_owned" gender="masc" number="sing">
+    <np type="owner_owned" role="owner" gender="masc" number="sing">
+      <np type="owner_owned" role="owner" gender="masc" number="sing">
        <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" gender="masc">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="masc">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
      <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="masc" number="sing">
    <np type="owner_owned" role="owner" gender="masc" number="sing">
      <np type="owner_owned" role="owner" gender="masc" number="sing">
-        <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" gender="masc">
+        <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" gender="masc">
+      <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="masc">
+    <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" gender="masc" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
      <word posp="noun" gloss="book"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
    </np>
    <np type="owner_owned" role="owner" gender="masc" number="sing">
      <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
        <word posp="noun" gloss="friend"/>
+        <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
      </np>
      <np type="owner_owned" role="owner" gender="masc" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">
          <word posp="noun" gloss="son"/>
+          <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
        </np>
      </np>
    </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="masc" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
    <word posp="noun" gloss="book"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
-    <np type="owner_owned" role="owner" gender="masc" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
    <word posp="noun" gloss="friend"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
-      <np type="owner_owned" role="owner" gender="masc" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">
    <word posp="noun" gloss="son"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
-      </np>
-    </np>
-  </np>
</example>

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
</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 book/noun/gender/obligatory
Got masc
About to call getSlotValue for book/noun/number/obligatory
Got sing
About to call getSlotValue for book/noun/def/obligatory
Got def
About to call getSlotValue for book/noun/case/obligatory
Got NOM
About to call getSlotValue for friend/noun/gender/obligatory
Got masc
About to call getSlotValue for friend/noun/number/obligatory
Got sing
About to call getSlotValue for friend/noun/def/obligatory
Got def
About to call getSlotValue for friend/noun/case/obligatory
Got NOM
About to call getSlotValue for son/noun/gender/obligatory
Got masc
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/def/obligatory
Got def
About to call getSlotValue for son/noun/case/obligatory
Got NOM
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
+    <thingy type="noungender" function="suffix" gloss="masc"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
+    <thingy type="noungender" function="suffix" gloss="masc"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing"/>
+    <thingy type="noungender" function="suffix" gloss="masc"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="l i b e&#x2D0; r">libeːr</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="p&#x2B0; a&#x2D0; &#x261;">pʰaːɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing" ph="b a&#x2D0; x">baːx</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="t e b">teb</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="l i b e&#x2D0; r">libeːr</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc" ph="p&#x2B0; a&#x2D0; &#x261;">pʰaːɡ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS" ph="&#x261; u k">ɡuk</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing" ph="b a&#x2D0; x">baːx</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="t e b">teb</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">libeːr</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="3.sing.masc">pʰaːɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.masc.POSS">ɡuk</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" possessor="2.sing">baːx</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">teb</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;libeːr&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;pʰaːɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;baːx&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>libeːruhid ɡuk pʰaːɡuhid ɡuk baːxuhid teb</p>
+  <p>либееругид ґук ԥааґугид ґук баахугид теб</p>
+  <il>
+    <w>
+      <o>libeːr</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>pʰaːɡ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡuk</o>
+      <g>3.sing.masc.POSS</g>
+    </w>
+    <w>
+      <o>baːx</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>teb</o>
+      <g>2.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

createpronouns:

No change.

module markowned:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut">
+    <np number="sing" 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 number="sing" 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.sing.neut">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.neut" ph="&#x28B; o m">ʋom</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.neut" ph="&#x28B; o m">ʋom</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.neut">ʋom</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋom&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lemehid ʋomele</p>
+  <p>лемегид вомеле</p>
+  <il>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʋom</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</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 complementise:

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

createpronouns:

No change.

module markowned:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut">
+    <np number="sing" 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 number="sing" 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.sing.neut">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" ph="h i p">hip</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" ph="h i p">hip</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut">hip</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lemehid hipele</p>
+  <p>лемегид гипеле</p>
+  <il>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>hip</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" 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.sing.neut" obj="3.sing.masc">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc" ph="k i n u&#x2D0; n">kinuːn</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc" ph="k i n u&#x2D0; n">kinuːn</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.neut" obj="3.sing.masc">kinuːn</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kinuːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lemehid kinuːnele tel biɡokuhid</p>
+  <p>лемегид кинуунеле тел биґокугид</p>
+  <il>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kinuːn</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="p o &#x261;">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="p o &#x261;">poɡ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poɡ&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lemehid poɡele peʋ tel biɡokuhid</p>
+  <p>лемегид поґеле пев тел биґокугид</p>
+  <il>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>poɡ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" 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.sing.masc" obj="3.plur.masc">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" gender="masc" number="plur" possessor="no.owner">
      <np def="def" number="plur" 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" number="plur" 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" number="plur" locus="number" gender="masc" possessor="no.owner" role="obj" tr="rheme">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" possessor="no.owner" role="obj" tr="rheme"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="k&#x2B0; i&#x2D0; t">kʰiːt</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ" ph="m i &#x261;">miɡ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="n e d o p&#x2B0;">nedopʰ</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="&#x272; a d">ɲad</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="b a t u b">batub</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="&#x272; a d">ɲad</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" possessor="no.owner" role="obj" tr="rheme" ph="k&#x2B0; a b a l">kʰabal</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="z u d i &#x261;">zudiɡ</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="k&#x2B0; i&#x2D0; t">kʰiːt</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ" ph="m i &#x261;">miɡ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="n e d o p&#x2B0;">nedopʰ</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="&#x272; a d">ɲad</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme" ph="b a t u b">batub</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="&#x272; a d">ɲad</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" possessor="no.owner" role="obj" tr="rheme" ph="k&#x2B0; a b a l">kʰabal</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="m">m</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">zudiɡ</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc">kʰiːt</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.masc.OBJ">miɡ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">nedopʰ</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="conj" gloss="and">ɲad</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="neut" possessor="no.owner" role="obj" tr="rheme">batub</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="conj" gloss="and">ɲad</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" possessor="no.owner" role="obj" tr="rheme">kʰabal</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="plur">m</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zudiɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰiːt&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;miɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nedopʰ&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&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;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲad&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;batub&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&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;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲad&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ʰabal&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&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;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zudiɡuhid kʰiːtore peʋ miɡ nedopʰemid ɲad batubemid ɲad kʰabalumid</p>
+  <p>зудиґугид қииторе пев миґ недоԥемид њад батубемид њад қабалумид</p>
+  <il>
+    <w>
+      <o>zudiɡ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kʰiːt</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>miɡ</o>
+      <g>3.plur.masc.OBJ</g>
+    </w>
+    <w>
+      <o>nedopʰ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲad</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>batub</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲad</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>kʰabal</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="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="1excl.sing" obj="3.sing.neut">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

<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" subj="1excl.sing" obj="3.sing.neut">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/gender/obligatory
Got neut
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def/obligatory
Got def
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
<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" subj="1excl.sing" obj="3.sing.neut">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+      <thingy type="noungender" function="suffix" gloss="neut"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<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" subj="1excl.sing" obj="3.sing.neut">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut" ph="h i x i j">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut" ph="h i x i j">hixij</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ">ʋix</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hixij&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ʋix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hixijihe peʋ ʋix lemehid</p>
+  <p>гихијиге пев вих лемегид</p>
+  <il>
+    <w>
+      <o>hixij</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʋix</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="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="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" 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="3.sing.neut" obj="3.sing.masc">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

<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" subj="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
          <word posp="noun" gloss="cat"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" subj="1excl.sing" obj="3.sing.fem">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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 pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/gender/obligatory
Got neut
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def/obligatory
Got def
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing.neut
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/gender/obligatory
Got masc
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/def/obligatory
Got def
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
<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" subj="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="neut"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="masc"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<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" subj="1excl.sing" obj="3.sing.fem">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np role="obj" gender="fem" number="sing" possessor="no.owner">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="p o &#x261;">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="p o &#x261;">poɡ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ" ph="t e l">tel</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.masc.OBJ">tel</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hixij&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poɡ&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;tel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hixijihe peʋ liɲ lemehid poɡele peʋ tel biɡokuhid xaziːr</p>
+  <p>гихијиге пев лињ лемегид поґеле пев тел биґокугид хазиир</p>
+  <il>
+    <w>
+      <o>hixij</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>poɡ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tel</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</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 complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np role="obj">
+    <np role="obj" gender="fem" number="sing">
      <subs>
-        <np def="def" number="sing" role="subj" locus="number">
+        <np def="def" number="sing" role="subj" 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="catch"/>
        </vp>
-        <np role="obj">
+        <np role="obj" gender="fem" number="sing">
          <subs>
-            <np def="def" number="sing" role="subj" locus="number">
+            <np def="def" number="sing" role="subj" locus="number" gender="masc">
              <word posp="noun" gloss="mouse"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number">
+            <np def="def" number="sing" role="obj" locus="number" gender="neut">
              <word posp="noun" gloss="cheese"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<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" subj="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
          <word posp="noun" gloss="cat"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np role="obj" gender="fem" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
              <word posp="noun" gloss="mouse"/>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
              <word posp="noun" gloss="cheese"/>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" subj="1excl.sing" obj="3.sing.fem">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np role="obj" gender="fem" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
-              <word posp="noun" gloss="mouse"/>
+              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">
-              <word posp="verb" gloss="eat"/>
+              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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 pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/gender/obligatory
Got neut
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def/obligatory
Got def
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing.neut
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/gender/obligatory
Got masc
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/def/obligatory
Got def
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/subj/obligatory
Got 3.sing.masc
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cheese/noun/gender/obligatory
Got neut
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for cheese/noun/def/obligatory
Got def
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
<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" subj="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="neut"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np role="obj" gender="fem" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
+              <thingy type="noungender" function="suffix" gloss="masc"/>
+              <thingy type="nounnumber" function="suffix" gloss="sing"/>
+              <thingy type="noundef" function="suffix" gloss="def"/>
+              <thingy type="nouncase" function="suffix" gloss="NOM"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut"/>
+              <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
+              <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+              <thingy type="noungender" function="suffix" gloss="neut"/>
+              <thingy type="nounnumber" function="suffix" gloss="sing"/>
+              <thingy type="noundef" function="suffix" gloss="def"/>
+              <thingy type="nouncase" function="suffix" gloss="NOM"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<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" subj="1excl.sing" obj="3.sing.fem">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np role="obj" gender="fem" number="sing" possessor="no.owner">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-        </vp>
-        <np role="obj" gender="fem" number="sing" possessor="no.owner">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-          </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem" ph="p o &#x261;">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut" ph="b e p&#x2B0;">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s a b o m">sabom</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem" ph="p o &#x261;">poɡ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut" ph="b e p&#x2B0;">bepʰ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s a b o m">sabom</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.neut">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ">ʋix</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">sabom</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hixij&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poɡ&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bepʰ&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ʋix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sabom&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hixijihe peʋ liɲ lemehid poɡele peʋ liɲ biɡokuhid bepʰore peʋ ʋix sabomehid xaziːr xaziːr</p>
+  <p>гихијиге пев лињ лемегид поґеле пев лињ биґокугид беԥоре пев вих сабомегид хазиир хазиир</p>
+  <il>
+    <w>
+      <o>hixij</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>poɡ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bepʰ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʋix</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>sabom</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</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 complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np role="obj">
+    <np role="obj" gender="fem" number="sing">
      <subs>
-        <np def="def" number="sing" role="subj" locus="number">
+        <np def="def" number="sing" role="subj" 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="catch"/>
        </vp>
-        <np role="obj">
+        <np role="obj" gender="fem" number="sing">
          <subs>
-            <np def="def" number="sing" role="subj" locus="number">
+            <np def="def" number="sing" role="subj" locus="number" gender="masc">
              <word posp="noun" gloss="mouse"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np role="obj">
+            <np role="obj" gender="fem" number="sing">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <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>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<example id="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" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="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="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" 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="3.sing.neut" obj="3.sing.fem">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np role="obj" gender="fem" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
              <word posp="noun" gloss="mouse"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np role="obj" gender="fem" number="sing" possessor="no.owner">
+            <np role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl">
              <subs>
-                <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner">
+                <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="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="1excl.sing" obj="3.sing.neut">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
                  <word posp="noun" gloss="cheese"/>
                </np>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

<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" subj="1excl.sing" obj="3.sing.fem">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np role="obj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
          <word posp="noun" gloss="cat"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np role="obj" gender="fem" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
              <word posp="noun" gloss="mouse"/>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
            </vp>
            <np role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem"/>
+                  <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut">
                  <word posp="verb" gloss="buy"/>
+                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
+                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
+                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+                  <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
                  <word posp="noun" gloss="cheese"/>
+                  <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
                </np>
                <word gloss="COMP" posp="pp"/>
              </subs>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

<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" subj="1excl.sing" obj="3.sing.fem">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np role="obj" gender="fem" number="sing" possessor="no.owner">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-        </vp>
-        <np role="obj" gender="fem" number="sing" possessor="no.owner">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-            </vp>
-            <np role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl">
-              <subs>
-                <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-                </vp>
-                <np def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="neut"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl"/>
-              </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-          </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem" ph="p o &#x261;">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="b e p&#x2B0;">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="d e d">ded</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut" ph="p e t">pet</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s a b o m">sabom</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="h i x i j">hixij</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner" ph="l e m">lem</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem" ph="p o &#x261;">poɡ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ" attach="suffix" ph="e l">el</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ" ph="l i &#x272;">liɲ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner" ph="b i &#x261; o k">biɡok</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="b e p&#x2B0;">bepʰ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="d e d">ded</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut" ph="p e t">pet</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s a b o m">sabom</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">hixij</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="neut" possessor="no.owner">lem</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.fem">poɡ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.neut.SUBJ">el</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.fem.OBJ">liɲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" possessor="no.owner">biɡok</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">bepʰ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">ded</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner">ɡaŋ</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.neut">pet</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ">ʋix</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">sabom</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner" person="1excl">xaziːr</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hixij&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poɡ&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;-el&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;liɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biɡok&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bepʰ&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ded&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pet&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ʋix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sabom&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hixijihe peʋ liɲ lemehid poɡele peʋ liɲ biɡokuhid bepʰore peʋ ded ɡaŋ petihe peʋ ʋix sabomehid xaziːr xaziːr xaziːr</p>
+  <p>гихијиге пев лињ лемегид поґеле пев лињ биґокугид беԥоре пев дед ґаӈ петиге пев вих сабомегид хазиир хазиир хазиир</p>
+  <il>
+    <w>
+      <o>hixij</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>lem</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>poɡ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-el</o>
+      <g>3.sing.neut.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>liɲ</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>biɡok</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bepʰ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ded</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ɡaŋ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>pet</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʋix</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>sabom</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" gender="fem" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner">
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
          <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="apple"/>
+          <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem">
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for def/
defaultval: noun, def
returning not.def
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/gender/obligatory
Got masc
About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/def/obligatory
Got def
About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for give/verb/subj/obligatory
Got 3.sing.masc
About to call getSlotValue for give/verb/question/obligatory
Got not.Q
About to call getSlotValue for girl/noun/gender/obligatory
Got fem
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for girl/noun/def/obligatory
Got def
About to call getSlotValue for girl/noun/case/obligatory
Got NOM
About to call getSlotValue for a/det/gender/obligatory
Got neut
About to call getSlotValue for apple/noun/gender/obligatory
Got neut
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/def/obligatory
Got not.def
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for surprise/verb/subj/obligatory
Got 3.sing.fem
About to call getSlotValue for surprise/verb/question/obligatory
Got not.Q
About to call getSlotValue for teacher/noun/gender/obligatory
Got fem
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
About to call getSlotValue for teacher/noun/def/obligatory
Got def
About to call getSlotValue for teacher/noun/case/obligatory
Got NOM
<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" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner">
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="masc"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
          <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="fem"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="neut"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
+          <thingy type="noungender" function="suffix" gloss="neut"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="noundef" function="suffix" gloss="not.def"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
+      <thingy type="noungender" function="suffix" gloss="fem"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut"/>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="neut"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="neut"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="not.def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut" ph="x a &#x14B;">xaŋ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner" ph="n i&#x2D0; n">niːn</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="p o&#x2D0;">poː</word>
+    <thingy type="detgender" function="suffix" gloss="neut" attach="suffix" ph="n">n</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s o b e t">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem" ph="j e s+t e&#x2D0; p">jesteːp</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="&#x261; i t e&#x2D0; r">ɡiteːr</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut" ph="x a &#x14B;">xaŋ</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ" ph="&#x28B; i x">ʋix</thingy>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner" ph="n i&#x2D0; n">niːn</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="p o&#x2D0;">poː</word>
-    <thingy type="detgender" function="suffix" gloss="neut" attach="suffix" ph="n">n</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner" ph="s o b e t">sobet</word>
-    <thingy type="noungender" function="suffix" gloss="neut" attach="suffix" ph="e">e</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="not.def" attach="suffix" ph="e">e</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem" ph="j e s+t e&#x2D0; p">jesteːp</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ" attach="suffix" ph="o s">os</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="&#x261; i t e&#x2D0; r">ɡiteːr</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" possessor="no.owner">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.neut">xaŋ</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.neut.OBJ">ʋix</thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ">mad</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" possessor="no.owner">niːn</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">poː</word>
+    <thingy type="detgender" function="suffix" gloss="neut">n</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="neut" possessor="no.owner">sobet</word>
+    <thingy type="noungender" function="suffix" gloss="neut">e</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="not.def">e</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word gloss="COMP" posp="pp" role="subj" gender="fem" number="sing" possessor="no.owner">xaziːr</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" indobj="3.sing.fem">jesteːp</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.fem.SUBJ">os</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ">mad</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" possessor="no.owner">ɡiteːr</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲud&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaŋ&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ʋix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.neut.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mad&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːn&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;poː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sobet&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;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neut&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jesteːp&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;-os&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;mad&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiteːr&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲuduhid xaŋore peʋ ʋix mad niːnihid poːn sobetehed xaziːr jesteːpose peʋ mad ɡiteːrihid</p>
+  <p>њудугид хаӈоре пев вих мад ниинигид поон собетегед хазиир јестеепосе пев мад ґитееригид</p>
+  <il>
+    <w>
+      <o>ɲud</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaŋ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʋix</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>mad</o>
+      <g>3.sing.fem.INDOBJ</g>
+    </w>
+    <w>
+      <o>niːn</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>poː</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>sobet</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>neut</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>jesteːp</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-os</o>
+      <g>3.sing.fem.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>mad</o>
+      <g>3.sing.fem.INDOBJ</g>
+    </w>
+    <w>
+      <o>ɡiteːr</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</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 complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

flatten:

<example id="quot1" translation="The boy told the girl that he loved her.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="masc"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
    <thingy type="noungender" function="suffix" gloss="fem"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl">
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" possessor="no.owner" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" possessor="no.owner" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="masc"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner"/>
-    <thingy type="noungender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="n i p">nip</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="d e d">ded</thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="n i&#x2D0; n">niːn</word>
+    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k&#x2B0; e r">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="x a z">xaz</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner" ph="p&#x2B0; e&#x2D0; &#x261;">pʰeːɡ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl" ph="x a z i&#x2D0; r">xaziːr</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner" ph="&#x272; u d">ɲud</word>
-    <thingy type="noungender" function="suffix" gloss="masc" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="n i p">nip</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ" attach="suffix" ph="o r">or</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p e &#x28B;">peʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="d e d">ded</thingy>
-    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ" ph="m a d">mad</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner" ph="n i&#x2D0; n">niːn</word>
-    <thingy type="noungender" function="suffix" gloss="fem" attach="suffix" ph="i">i</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="h">h</thingy>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="i">i</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="d">d</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner" ph="&#x261; a &#x14B;">ɡaŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k&#x2B0; e r">kʰer</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="i h">ih</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="e">e</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="x a z">xaz</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner" ph="p&#x2B0; e&#x2D0; &#x261;">pʰeːɡ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl" ph="x a z i&#x2D0; r">xaziːr</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" possessor="no.owner">ɲud</word>
+    <thingy type="noungender" function="suffix" gloss="masc">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">nip</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.masc.SUBJ">or</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">peʋ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">ded</thingy>
+    <thingy type="vpindobj" function="enclitic" gloss="3.sing.fem.INDOBJ">mad</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" possessor="no.owner">niːn</word>
+    <thingy type="noungender" function="suffix" gloss="fem">i</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">h</thingy>
+    <thingy type="noundef" function="suffix" gloss="def">i</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">d</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" possessor="no.owner">ɡaŋ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">kʰer</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">ih</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">e</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ">xaz</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" possessor="no.owner">pʰeːɡ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="fem" number="sing" possessor="no.owner" person="1excl">xaziːr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲud&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nip&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;-or&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;peʋ&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;ded&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mad&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːn&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;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-h&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-i&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰer&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;-ih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-e&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;xaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰeːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaziːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲuduhid nipore peʋ ded mad niːnihid ɡaŋ kʰerihe xaz pʰeːɡ xaziːr</p>
+  <p>њудугид нипоре пев дед мад ниинигид ґаӈ қериге хаз ԥееґ хазиир</p>
+  <il>
+    <w>
+      <o>ɲud</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>nip</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-or</o>
+      <g>3.sing.masc.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>peʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ded</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>mad</o>
+      <g>3.sing.fem.INDOBJ</g>
+    </w>
+    <w>
+      <o>niːn</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-h</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-i</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡaŋ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kʰer</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-ih</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-e</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>xaz</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>pʰeːɡ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>xaziːr</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>