initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="subj" number="sing" def="def" locus="number">
+    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number" 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">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module markowner:

No change.

module 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" case="NOM">
+    <np role="subj" number="sing" def="def" locus="number" case="NOM" 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="fem">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">
      <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.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="fem">
          <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.fem">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="nouncase" function="prefix" gloss="LOC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <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.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="detgender" function="prefix" gloss="fem"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="k u&#x2D0; t&#x361;&#x283;" slots="Cmr Cfr">kuːt͡ʃ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k" slots="Cir Cfr">nḛɡik</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem" ph="r u &#x14B;" slots="Cmr Cfr">ruŋ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.plur.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="q&#x2B7;" slots="Cms Cms">qʷ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="detgender" function="prefix" gloss="fem" attach="prefix" ph="q&#x2B7;" slots="Cip Cip">qʷ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="&#x283; u p" slots="Cir Cfr">ʃup</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; &#x251; r" slots="Cir Cfr">kʷɑr</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="q e k" slots="Cir Cfr">qek</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /k/ > // + /k/
/l/ + /t/ > // + /d/
/k/ + /r/ > // + /t/
/d/ + /q/ > // + /q/
/eː/ + /qʷ/ > /eː/ + /qʷ/
/qʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/qʷ/ + /ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /d͡z/ > // + /d͡z/
/kʷ/ + /d/ > // + /t/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="k u&#x2D0; t&#x361;&#x283;" slots="Cmr Cfr">kuːt͡ʃ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k" slots="Cir Cfr">nḛɡik</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem" ph="r u &#x14B;" slots="Cmr Cfr">ruŋ</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.plur.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="q&#x2B7;" slots="Cms Cms">qʷ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="detgender" function="prefix" gloss="fem" attach="prefix" ph="q&#x2B7;" slots="Cip Cip">qʷ</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="&#x283; u p" slots="Cir Cfr">ʃup</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; &#x251; r" slots="Cir Cfr">kʷɑr</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="q e k" slots="Cir Cfr">qek</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="k u&#x2D0; t&#x361;&#x283;">kuːt͡ʃ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k">nḛɡik</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem" ph="t u &#x14B;" underlying="r u &#x14B;">tuŋ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.fem" ph="q e&#x2D0;">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="" underlying="q&#x2B7;"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="detgender" function="prefix" gloss="fem" attach="prefix" ph="" underlying="q&#x2B7;"></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t&#x361;&#x283; u p" underlying="&#x283; u p">t͡ʃup</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; &#x251; r">kʷɑr</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="q e k">qek</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="k u&#x2D0; t&#x361;&#x283;">kuːt͡ʃ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k">nḛɡik</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem" ph="t u &#x14B;" underlying="r u &#x14B;">tuŋ</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.fem" ph="q e&#x2D0;">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="" underlying="q&#x2B7;"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="detgender" function="prefix" gloss="fem" attach="prefix" ph="" underlying="q&#x2B7;"></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t&#x361;&#x283; u p" underlying="&#x283; u p">t͡ʃup</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; &#x251; r">kʷɑr</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="q e k">qek</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem">kuːt͡ʃ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">nḛɡik</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="fem" underlying="r u &#x14B;">tuŋ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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.fem">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" underlying="q&#x2B7;"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="detgender" function="prefix" gloss="fem" underlying="q&#x2B7;"></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" underlying="&#x283; u p">t͡ʃup</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">kʷɑr</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">qek</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;kuːt͡ʃ&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;nḛɡik&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;l-&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;tæ̰k-&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;ruŋ&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;qeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷ-&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;ʃup&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;kʷɑr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qek&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zḛkʷ-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kuːt͡ʃ nḛɡik dæ̰tuŋ fo̰qeːt͡ʃif niq t͡ʃup kʷɑr qek d͡zḛtiːʒɑd͡ʒ</p>
+  <p>дә’кууч не’гик дә’туӈ фо’ԟеечиф ниԟ чуп квар ԟек ѕе’тиижаџ</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kuːt͡ʃ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>nḛɡik</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>l-</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ruŋ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>qeː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-qʷ</o>
+      <g>3.plur.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>qʷ-</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>ʃup</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>kʷɑr</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>qek</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>d͡zḛkʷ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="masc">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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" case="ACC" gender="fem">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
+      <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" case="NOM" 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">
+    <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" case="ACC" gender="fem">
      <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" case="NOM" 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" 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" case="ACC" gender="fem">
      <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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
-      <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" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/subj.mode.ta/obligatory
Got 3.sing.masc.indicative.PRES
About to call getSlotValue for love/verb/obj/obligatory
Got 3.sing.fem
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
About to call getSlotValue for 3.sing.fem/pron/number/obligatory
Got sing
<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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
      <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="verbobj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </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>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
-    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="s e&#x330;" slots="Cmr V1">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e&#x2D0;" slots="Cir V1">meː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t͡s/ + /s/ > // + /t͡s/
/ḛ/ + /t/ > /ḛ/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/eː/ + /e/ > // + /e/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="s e&#x330;" slots="Cmr V1">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e&#x2D0;" slots="Cir V1">meː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;s e&#x330;" underlying="s e&#x330;">t͡sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m" underlying="m e&#x2D0;">m</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;s e&#x330;" underlying="s e&#x330;">t͡sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m" underlying="m e&#x2D0;">m</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" underlying="&#x292; i t&#x361;s">ʒi</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" underlying="s e&#x330;">t͡sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" underlying="m e&#x2D0;">m</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒit͡s-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sḛ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒit͡sḛt͡ʃif niq met͡s</p>
+  <p>жице’чиф ниԟ мец</p>
+  <il>
+    <w>
+      <o>ʒit͡s-</o>
+      <g>3.sing.masc.indicative.PRES</g>
+    </w>
+    <w>
+      <o>sḛ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>meː</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="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:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM" gender="masc">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" 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" case="ACC" gender="fem">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
+      <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" case="NOM" 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">
+    <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" case="ACC" gender="fem">
      <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" case="NOM" 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" subj="3.sing.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </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" case="NOM" gender="masc">
-      <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" case="NOM"/>
    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
-      <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" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for 3.sing.masc/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/subj.mode.ta/obligatory
Got 3.sing.masc.indicative.PRES
About to call getSlotValue for love/verb/obj/obligatory
Got 3.sing.fem
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
About to call getSlotValue for 3.sing.fem/pron/number/obligatory
Got sing
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
      <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="verbobj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="masc">
+  <flat>
    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
-    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="d&#x361;z &#x251;&#x2D0;" slots="Cir V1">d͡zɑː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="s e&#x330;" slots="Cmr V1">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e&#x2D0;" slots="Cir V1">meː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ɑː/ + /e/ > // + /e/
/t͡s/ + /s/ > // + /t͡s/
/ḛ/ + /t/ > /ḛ/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/eː/ + /e/ > // + /e/
<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" case="NOM" ph="d&#x361;z &#x251;&#x2D0;" slots="Cir V1">d͡zɑː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="s e&#x330;" slots="Cmr V1">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e&#x2D0;" slots="Cir V1">meː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="d&#x361;z" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;s e&#x330;" underlying="s e&#x330;">t͡sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m" underlying="m e&#x2D0;">m</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

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" case="NOM" ph="d&#x361;z" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;s e&#x330;" underlying="s e&#x330;">t͡sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m" underlying="m e&#x2D0;">m</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" case="NOM" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" underlying="&#x292; i t&#x361;s">ʒi</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" underlying="s e&#x330;">t͡sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" underlying="m e&#x2D0;">m</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zɑː&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;-et͡s&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;ʒit͡s-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sḛ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zet͡s ʒit͡sḛt͡ʃif niq met͡s</p>
+  <p>ѕец жице’чиф ниԟ мец</p>
+  <il>
+    <w>
+      <o>d͡zɑː</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʒit͡s-</o>
+      <g>3.sing.masc.indicative.PRES</g>
+    </w>
+    <w>
+      <o>sḛ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>meː</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="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="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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Bushil hates Gojab.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES"/>
-    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="Bushil" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="b u &#x283; i l" slots="Cmr Cfr">buʃil</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="&#x283; u q&#x2B7; o&#x330;" slots="Cmr V1">ʃuqʷo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="Gojab" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="&#x261; o d&#x361;&#x292; &#xE6; b" slots="Cmr Cfr">ɡod͡ʒæb</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /b/ > // + /p/
/t͡s/ + /ʃ/ > // + /t͡ʃ/
/o̰/ + /t/ > /o̰/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /ɡ/ > // + /k/
<example id="loveprop" translation="Bushil hates Gojab.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="Bushil" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="b u &#x283; i l" slots="Cmr Cfr">buʃil</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i t&#x361;s" slots="Cip Cir">ʒit͡s</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="&#x283; u q&#x2B7; o&#x330;" slots="Cmr V1">ʃuqʷo̰</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="Gojab" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="&#x261; o d&#x361;&#x292; &#xE6; b" slots="Cmr Cfr">ɡod͡ʒæb</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="Bushil" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="p u &#x283; i l" underlying="b u &#x283; i l">puʃil</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;&#x283; u q&#x2B7; o&#x330;" underlying="&#x283; u q&#x2B7; o&#x330;">t͡ʃuqʷo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="Gojab" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="k o d&#x361;&#x292; &#xE6; b" underlying="&#x261; o d&#x361;&#x292; &#xE6; b">kod͡ʒæb</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Bushil hates Gojab.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="Bushil" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="p u &#x283; i l" underlying="b u &#x283; i l">puʃil</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" attach="prefix" ph="&#x292; i" underlying="&#x292; i t&#x361;s">ʒi</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="t&#x361;&#x283; u q&#x2B7; o&#x330;" underlying="&#x283; u q&#x2B7; o&#x330;">t͡ʃuqʷo̰</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="Gojab" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="k o d&#x361;&#x292; &#xE6; b" underlying="&#x261; o d&#x361;&#x292; &#xE6; b">kod͡ʒæb</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="Bushil" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" underlying="b u &#x283; i l">puʃil</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PRES" underlying="&#x292; i t&#x361;s">ʒi</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" underlying="&#x283; u q&#x2B7; o&#x330;">t͡ʃuqʷo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="Gojab" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" underlying="&#x261; o d&#x361;&#x292; &#xE6; b">kod͡ʒæb</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;buʃil&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Bushil&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒit͡s-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃuqʷ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;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;ɡod͡ʒæb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Gojab&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰puʃil ʒit͡ʃuqʷo̰t͡ʃif niq d͡zæ̰kod͡ʒæb</p>
+  <p>дә’Пушил жичуԟво’чиф ниԟ ѕә’Коџәб</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>buʃil</o>
+      <g>Bushil</g>
+    </w>
+    <w>
+      <o>ʒit͡s-</o>
+      <g>3.sing.masc.indicative.PRES</g>
+    </w>
+    <w>
+      <o>ʃuqʷo̰</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡod͡ʒæb</o>
+      <g>Gojab</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/case/obligatory
Got GEN
About to call getSlotValue for boy/noun/number/obligatory
Got sing
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+    <thingy type="nouncase" function="prefix" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /qʷ/ > // + /qʷ/
/f/ + /t/ > // + /s/
/k/ + /m/ > // + /ŋ/
<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">qʷot͡sæd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="m i r">ŋir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;qʷot͡sæd͡ʒ&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;mir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰qʷot͡sæd͡ʒ sæ̰ŋir</p>
+  <p>дә’ԟвоцәџ сә’ӈир</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qʷot͡sæd͡ʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mir</o>
+      <g>boy</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" gender="neut" number="sing">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" 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 number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+      <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;z &#x251;&#x2D0;" slots="Cir V1">d͡zɑː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /qʷ/ > // + /qʷ/
/ɑː/ + /e/ > // + /e/
<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;z &#x251;&#x2D0;" slots="Cir V1">d͡zɑː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;z" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;z" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">qʷot͡sæd͡ʒ</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" underlying="d&#x361;z &#x251;&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;qʷot͡sæd͡ʒ&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;d͡zɑː&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰qʷot͡sæd͡ʒ d͡zet͡s</p>
+  <p>дә’ԟвоцәџ ѕец</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qʷot͡sæd͡ʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>d͡zɑː</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" 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" role="owner" case="GEN"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="pronnumber" function="suffix" gloss="sing"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
-  </np>
-  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t e" slots="Cir V1">te</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /qʷ/ > // + /qʷ/
/e/ + /e/ > // + /e/
<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t e" slots="Cir V1">te</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t" underlying="t e">t</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="neut" case="NOM">qʷot͡sæd͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;qʷot͡sæd͡ʒ&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;te&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰qʷot͡sæd͡ʒ tet͡s</p>
+  <p>дә’ԟвоцәџ тец</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qʷot͡sæd͡ʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>te</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="NOM" number="sing">
      <np type="owner_owned" gender="fem" number="sing">
-        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
-          <word posp="noun" gloss="hunter"/>
-        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
+        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+          <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" case="ACC" number="sing">
      <np type="owner_owned" gender="masc" number="sing">
-        <np type="owner_owned" role="owner" gender="fem" number="sing">
-          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
-            <word person="2" number="sing" posp="pron"/>
+        <np number="sing" def="def" locus="number" role="owned" gender="masc">
+          <word posp="noun" gloss="son"/>
        </np>
+        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
+          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
+            <word person="2" number="sing" posp="pron"/>
          </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="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:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="NOM" number="sing">
      <np type="owner_owned" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <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" case="ACC" number="sing">
      <np type="owner_owned" gender="masc" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
-            <word person="2" number="sing" posp="pron"/>
+            <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
          </np>
        </np>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="NOM" number="sing">
+    <np role="subj" case="NOM" number="sing" gender="fem">
      <np type="owner_owned" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <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" case="ACC" number="sing">
+    <np role="obj" case="ACC" number="sing" gender="masc">
      <np type="owner_owned" gender="masc" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
-          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
+          <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
          </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" case="NOM" number="sing" gender="fem">
      <np type="owner_owned" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np role="obj" case="ACC" number="sing" gender="masc">
      <np type="owner_owned" gender="masc" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
          <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
          </np>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="NOM" number="sing" gender="fem">
-      <np type="owner_owned" gender="fem" number="sing">
+    <np type="owner_owned" gender="fem" number="sing" role="subj" case="NOM">
      <np number="sing" def="def" locus="number" role="owned" gender="fem">
        <word posp="noun" gloss="daughter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
        <word posp="noun" gloss="hunter"/>
      </np>
    </np>
-    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
-    <np role="obj" case="ACC" number="sing" gender="masc">
-      <np type="owner_owned" gender="masc" number="sing">
+    <np type="owner_owned" gender="masc" number="sing" role="obj" case="ACC">
      <np number="sing" def="def" locus="number" role="owned" gender="masc">
        <word posp="noun" gloss="son"/>
      </np>
      <np type="owner_owned" role="owner" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
          <word posp="noun" gloss="neighbour"/>
        </np>
        <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
        </np>
      </np>
    </np>
-    </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" case="NOM">
-      <np number="sing" def="def" locus="number" role="owned" gender="fem">
+    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
-    <np type="owner_owned" gender="masc" number="sing" role="obj" case="ACC">
-      <np number="sing" def="def" locus="number" role="owned" gender="masc">
+    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
      <word posp="noun" gloss="son"/>
    </np>
-      <np type="owner_owned" role="owner" gender="fem" number="sing">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
      <word posp="noun" gloss="neighbour"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
    </np>
-      </np>
-    </np>
  </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" case="NOM">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
    </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"/>
+      <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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" 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" locus="number" role="owner" case="GEN"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for daughter/noun/case/obligatory
Got NOM
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for kiss/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for kiss/verb/obj/obligatory
Got 3.sing.masc
About to call getSlotValue for kiss/verb/question/obligatory
Got not.Q
About to call getSlotValue for son/noun/case/obligatory
Got ACC
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/case/obligatory
Got GEN
About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<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" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
    </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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
      <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="verbobj" function="suffix" gloss="3.sing.masc"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </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" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    </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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <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="verbobj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <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="verbobj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="q e &#x292;" slots="Cmr Cfr">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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" ph="d&#x361;&#x292; o z &#xE6;" slots="Cmr V1">d͡ʒozæ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="r" slots="Cms Cms">r</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="t&#x361;&#x283; &#xE6; n" slots="Cmr Cfr">t͡ʃæn</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="d &#xE6;&#x330; t e r" slots="Cmr Cfr">dæ̰ter</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p o" slots="Cir V1">po</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /q/ > // + /q/
/f/ + /t/ > // + /s/
/k/ + /w/ > // + /kʷ/
/d/ + /d͡ʒ/ > // + /d͡ʒ/
/æ/ + /r/ > /æ/ + /r/
/r/ + /t͡ʃ/ > // + /ʒ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /t͡ʃ/ > // + /t͡ʃ/
/f/ + /t/ > // + /s/
/k/ + /d/ > // + /t/
/o/ + /e/ > // + /e/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="q e &#x292;" slots="Cmr Cfr">qeʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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" ph="d&#x361;&#x292; o z &#xE6;" slots="Cmr V1">d͡ʒozæ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="r" slots="Cms Cms">r</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="t&#x361;&#x283; &#xE6; n" slots="Cmr Cfr">t͡ʃæn</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="d &#xE6;&#x330; t e r" slots="Cmr Cfr">dæ̰ter</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p o" slots="Cir V1">po</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="q e &#x292;">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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="d&#x361;&#x292; o z &#xE6;">d͡ʒozæ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="" underlying="r"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x292; i f" underlying="t&#x361;&#x283; i f">ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="t&#x361;&#x283; &#xE6; n">t͡ʃæn</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t &#xE6;&#x330; t e r" underlying="d &#xE6;&#x330; t e r">tæ̰ter</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="q e &#x292;">qeʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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="d&#x361;&#x292; o z &#xE6;">d͡ʒozæ</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="" underlying="r"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x292; i f" underlying="t&#x361;&#x283; i f">ʒif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="t&#x361;&#x283; &#xE6; n">t͡ʃæn</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t &#xE6;&#x330; t e r" underlying="d &#xE6;&#x330; t e r">tæ̰ter</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p" underlying="p o">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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">d͡ʒozæ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" underlying="r"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">t͡ʃæn</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" underlying="d &#xE6;&#x330; t e r">tæ̰ter</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;qeʒ&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;wɑpon&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒozæ&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;-r&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;t͡ʃæn&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;dæ̰ter&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;po&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰qeʒ sæ̰kʷɑpon fo̰d͡ʒozæʒif niq d͡zæ̰t͡ʃæn sæ̰tæ̰ter pet͡s</p>
+  <p>дә’ԟеж сә’квапон фо’џозәжиф ниԟ ѕә’чән сә’тә’тер пец</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qeʒ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wɑpon</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ʒozæ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ʃæn</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>dæ̰ter</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="fem">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM" gender="fem">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="s+q u m u t&#x361;&#x283;" slots="Cmr Cfr">squmut͡ʃ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /s+q/ > // + /k/
<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="s+q u m u t&#x361;&#x283;" slots="Cmr Cfr">squmut͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="k u m u t&#x361;&#x283;" underlying="s+q u m u t&#x361;&#x283;">kumut͡ʃ</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="k u m u t&#x361;&#x283;" underlying="s+q u m u t&#x361;&#x283;">kumut͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" underlying="s+q u m u t&#x361;&#x283;">kumut͡ʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;squmut͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kumut͡ʃ</p>
+  <p>дә’кумуч</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>squmut͡ʃ</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="s+q u m u t&#x361;&#x283;" slots="Cmr Cfr">squmut͡ʃ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d &#x251; r" slots="Cfr Cfs">dɑr</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /s+q/ > // + /k/
/t͡ʃ/ + /d/ > // + /t͡s/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="s+q u m u t&#x361;&#x283;" slots="Cmr Cfr">squmut͡ʃ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d &#x251; r" slots="Cfr Cfs">dɑr</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="k u m u" underlying="s+q u m u t&#x361;&#x283;">kumu</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s &#x251; r" underlying="d &#x251; r">t͡sɑr</thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="k u m u" underlying="s+q u m u t&#x361;&#x283;">kumu</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s &#x251; r" underlying="d &#x251; r">t͡sɑr</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" underlying="s+q u m u t&#x361;&#x283;">kumu</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="d &#x251; r">t͡sɑr</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;squmut͡ʃ&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;-dɑr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kumut͡sɑr</p>
+  <p>дә’кумуцар</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>squmut͡ʃ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-dɑr</o>
+      <g>little</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" 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" case="ACC" 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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
    </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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" 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" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PRES
About to call getSlotValue for love/verb/obj/obligatory
Got 2.sing
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES"/>
      <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="verbobj" function="suffix" gloss="2.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </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>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES"/>
    <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="verbobj" function="suffix" gloss="2.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES"/>
-    <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="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o s" slots="Cip Cir">ʒos</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="s e&#x330;" slots="Cmr V1">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="b" slots="Cms Cms">b</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p o" slots="Cir V1">po</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s/ + /s/ > // + /s/
/ḛ/ + /b/ > /ḛ/ + /b/
/b/ + /t͡ʃ/ > // + /d͡ʒ/
/o/ + /e/ > // + /e/
<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o s" slots="Cip Cir">ʒos</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="s e&#x330;" slots="Cmr V1">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="b" slots="Cms Cms">b</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p o" slots="Cir V1">po</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o" underlying="&#x292; o s">ʒo</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="s e&#x330;">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="" underlying="b"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o" underlying="&#x292; o s">ʒo</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="s e&#x330;">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="" underlying="b"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p" underlying="p o">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" underlying="&#x292; o s">ʒo</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">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" underlying="b"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sḛ&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;-b&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;po&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒosḛd͡ʒif niq pet͡s</p>
+  <p>жосе’џиф ниԟ пец</p>
+  <il>
+    <w>
+      <o>ʒos-</o>
+      <g>1excl.sing.indicative.PRES</g>
+    </w>
+    <w>
+      <o>sḛ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <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 markowner:

No change.

module addgender:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp"/>
-    <np def="def" number="sing" locus="number" 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.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got LOC
About to call getSlotValue for table/noun/number/obligatory
Got sing
<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">
+      <thingy type="nouncase" function="prefix" gloss="LOC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc"/>
    </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">
    <thingy type="nouncase" function="prefix" gloss="LOC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <thingy type="nouncase" function="prefix" gloss="LOC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x261;&#x2B7; &#xE6; j" slots="Cir Cfr">ɡʷæj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" ph="q&#x2B7; &#x251;&#x2D0; d&#x361;z" slots="Cmr Cfr">qʷɑːd͡z</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/l/ + /t/ > // + /d/
/k/ + /qʷ/ > // + /qʷ/
<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x261;&#x2B7; &#xE6; j" slots="Cir Cfr">ɡʷæj</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" ph="q&#x2B7; &#x251;&#x2D0; d&#x361;z" slots="Cmr Cfr">qʷɑːd͡z</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x261;&#x2B7; &#xE6; j">ɡʷæj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" ph="q&#x2B7; &#x251;&#x2D0; d&#x361;z">qʷɑːd͡z</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x261;&#x2B7; &#xE6; j">ɡʷæj</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc" ph="q&#x2B7; &#x251;&#x2D0; d&#x361;z">qʷɑːd͡z</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">ɡʷæj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="masc">qʷɑːd͡z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʷæj&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;l-&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;tæ̰k-&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;qʷɑːd͡z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡʷæj dæ̰qʷɑːd͡z</p>
+  <p>гвәј дә’ԟвааѕ</p>
+  <il>
+    <w>
+      <o>ɡʷæj</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>l-</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qʷɑːd͡z</o>
+      <g>table</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <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 markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got LOC
About to call getSlotValue for box/noun/number/obligatory
Got sing
<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="fem">
+      <thingy type="nouncase" function="prefix" gloss="LOC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem"/>
    </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="fem">
    <thingy type="nouncase" function="prefix" gloss="LOC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <thingy type="nouncase" function="prefix" gloss="LOC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d e&#x330; j" slots="Cir Cfr">dḛj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem" ph="t&#x361;s i k e k" slots="Cmr Cfr">t͡sikek</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/l/ + /t/ > // + /d/
/k/ + /t͡s/ > // + /t/
<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d e&#x330; j" slots="Cir Cfr">dḛj</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="l" slots="Cip Cip">l</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem" ph="t&#x361;s i k e k" slots="Cmr Cfr">t͡sikek</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d e&#x330; j">dḛj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem" ph="t i k e k" underlying="t&#x361;s i k e k">tikek</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d e&#x330; j">dḛj</word>
-    <thingy type="nouncase" function="prefix" gloss="LOC" attach="prefix" ph="" underlying="l"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem" ph="t i k e k" underlying="t&#x361;s i k e k">tikek</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">dḛj</word>
+    <thingy type="nouncase" function="prefix" gloss="LOC" underlying="l"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="fem" underlying="t&#x361;s i k e k">tikek</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dḛj&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;l-&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;tæ̰k-&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;t͡sikek&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dḛj dæ̰tikek</p>
+  <p>де’ј дә’тикек</p>
+  <il>
+    <w>
+      <o>dḛj</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>l-</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡sikek</o>
+      <g>box</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <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 markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </pp>
</example>

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" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k" slots="Cir Cfr">nḛɡik</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" ph="t e" slots="Cir V1">te</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/e/ + /e/ > // + /e/
<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k" slots="Cir Cfr">nḛɡik</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" ph="t e" slots="Cir V1">te</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k">nḛɡik</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" ph="t" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n e&#x330; &#x261; i k">nḛɡik</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" ph="t" underlying="t e">t</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">nḛɡik</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" case="LOC" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nḛɡik&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;te&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nḛɡik tet͡s</p>
+  <p>не’гик тец</p>
+  <il>
+    <w>
+      <o>nḛɡik</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>te</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <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.fem" obj="3.sing.masc">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="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.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.fem" obj="3.sing.masc"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for jaguar/noun/number/obligatory
Got sing
About to call getSlotValue for kill/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for kill/verb/obj/obligatory
Got 3.sing.masc
About to call getSlotValue for kill/verb/question/obligatory
Got not.Q
About to call getSlotValue for hunter/noun/case/obligatory
Got ACC
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="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.masc">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
      <word posp="verb" gloss="kill" 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="verbobj" function="suffix" gloss="3.sing.masc"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
    </np>
  </s>
</example>

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="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.masc">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <word posp="verb" gloss="kill" 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="verbobj" function="suffix" gloss="3.sing.masc"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="kill" 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="verbobj" function="suffix" gloss="3.sing.masc"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="n e m o&#x330; p" slots="Cmr Cfr">nemo̰p</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.masc" ph="k&#x2B7; i&#x2D0;" slots="Cmr V1">kʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="r" slots="Cms Cms">r</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /n/ > // + /ŋ/
/d/ + /kʷ/ > // + /ɡʷ/
/iː/ + /r/ > /iː/ + /r/
/r/ + /t͡ʃ/ > // + /ʒ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /w/ > // + /kʷ/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="n e m o&#x330; p" slots="Cmr Cfr">nemo̰p</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.masc" ph="k&#x2B7; i&#x2D0;" slots="Cmr V1">kʷiː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="r" slots="Cms Cms">r</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="&#x14B; e m o&#x330; p" underlying="n e m o&#x330; p">ŋemo̰p</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="&#x261;&#x2B7; i&#x2D0;" underlying="k&#x2B7; i&#x2D0;">ɡʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="" underlying="r"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x292; i f" underlying="t&#x361;&#x283; i f">ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="&#x14B; e m o&#x330; p" underlying="n e m o&#x330; p">ŋemo̰p</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="&#x261;&#x2B7; i&#x2D0;" underlying="k&#x2B7; i&#x2D0;">ɡʷiː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" attach="suffix" ph="" underlying="r"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x292; i f" underlying="t&#x361;&#x283; i f">ʒif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" underlying="n e m o&#x330; p">ŋemo̰p</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" underlying="k&#x2B7; i&#x2D0;">ɡʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.masc.OBJ" underlying="r"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" underlying="w &#x251; p o n">kʷɑpon</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;nemo̰p&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;kʷiː&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;-r&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;wɑpon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰ŋemo̰p fo̰ɡʷiːʒif niq d͡zæ̰kʷɑpon</p>
+  <p>дә’ӈемо’п фо’гвиижиф ниԟ ѕә’квапон</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>nemo̰p</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kʷiː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>3.sing.masc.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wɑpon</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="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="eat"/>
+      <word posp="verb" gloss="eat" 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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="eat" 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="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="z i f i&#x330; t&#x361;&#x283;" slots="Cmr Cfr">zifḭt͡ʃ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="b i&#x2D0; p" slots="Cmr Cfr">biːp</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="q e &#x292;" slots="Cmr Cfr">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /z/ > // + /t͡s/
/d/ + /d͡z/ > // + /d/
/e/ + /t/ > /e/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /b/ > // + /p/
/f/ + /t/ > // + /s/
/k/ + /q/ > // + /q/
/f/ + /t/ > // + /s/
/k/ + /w/ > // + /kʷ/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="z i f i&#x330; t&#x361;&#x283;" slots="Cmr Cfr">zifḭt͡ʃ</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="b i&#x2D0; p" slots="Cmr Cfr">biːp</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="q e &#x292;" slots="Cmr Cfr">qeʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="t&#x361;s i f i&#x330; t&#x361;&#x283;" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="d e" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="p i&#x2D0; p" underlying="b i&#x2D0; p">piːp</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="q e &#x292;">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="t&#x361;s i f i&#x330; t&#x361;&#x283;" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="d e" underlying="d&#x361;z e">de</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="p i&#x2D0; p" underlying="b i&#x2D0; p">piːp</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="q e &#x292;">qeʒ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" underlying="b i&#x2D0; p">piːp</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">qeʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="w &#x251; p o n">kʷɑpon</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;zifḭt͡ʃ&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ze&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;biːp&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;qeʒ&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;wɑpon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰t͡sifḭt͡ʃ fo̰det͡ʃif niq d͡zæ̰piːp sæ̰qeʒ sæ̰kʷɑpon</p>
+  <p>дә’цифи’ч фо’дечиф ниԟ ѕә’пиип сә’ԟеж сә’квапон</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>zifḭt͡ʃ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ze</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>biːp</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qeʒ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wɑpon</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

addaffixes:

About to call getSlotValue for book/noun/case/obligatory
Got NOM
About to call getSlotValue for book/noun/number/obligatory
Got sing
About to call getSlotValue for friend/noun/case/obligatory
Got GEN
About to call getSlotValue for friend/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/case/obligatory
Got GEN
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
+    <thingy type="nouncase" function="prefix" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">
+    <thingy type="nouncase" function="prefix" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="pronnumber" function="suffix" gloss="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" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
-  </np>
-  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="l i&#x2D0; b &#xE6; r" slots="C C">liːbær</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="d&#x361;&#x292; u q" slots="Cmr Cfr">d͡ʒuq</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="t&#x361;&#x283; &#xE6; n" slots="Cmr Cfr">t͡ʃæn</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p o" slots="Cir V1">po</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /l/ > // + /t/
/f/ + /t/ > // + /s/
/k/ + /d͡ʒ/ > // + /t͡ʃ/
/f/ + /t/ > // + /s/
/k/ + /t͡ʃ/ > // + /t͡ʃ/
/o/ + /e/ > // + /e/
<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="l i&#x2D0; b &#xE6; r" slots="C C">liːbær</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="d&#x361;&#x292; u q" slots="Cmr Cfr">d͡ʒuq</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="f" slots="Cip Cip">f</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="t&#x361;&#x283; &#xE6; n" slots="Cmr Cfr">t͡ʃæn</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p o" slots="Cir V1">po</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="t i&#x2D0; b &#xE6; r" underlying="l i&#x2D0; b &#xE6; r">tiːbær</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t&#x361;&#x283; u q" underlying="d&#x361;&#x292; u q">t͡ʃuq</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="t&#x361;&#x283; &#xE6; n">t͡ʃæn</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="t i&#x2D0; b &#xE6; r" underlying="l i&#x2D0; b &#xE6; r">tiːbær</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t&#x361;&#x283; u q" underlying="d&#x361;&#x292; u q">t͡ʃuq</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="f"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="s &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="t&#x361;&#x283; &#xE6; n">t͡ʃæn</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="p" underlying="p o">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" underlying="l i&#x2D0; b &#xE6; r">tiːbær</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" underlying="d&#x361;&#x292; u q">t͡ʃuq</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="f"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">sæ̰</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">t͡ʃæn</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;liːbæ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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;d͡ʒuq&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;f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;t͡ʃæn&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;po&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰tiːbær sæ̰t͡ʃuq sæ̰t͡ʃæn pet͡s</p>
+  <p>дә’тиибәр сә’чуԟ сә’чән пец</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>liːbær</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡ʒuq</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>f-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ʃæn</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for sleep/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PRES
About to call getSlotValue for sleep/verb/obj/obligatory
Got none
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" case="NOM" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.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" case="NOM" gender="fem">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="p i" slots="Cmr V1">pi</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/m/ + /p/ > // + /m/
/i/ + /p/ > /i/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="p i" slots="Cmr V1">pi</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="m i" underlying="p i">mi</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="m i" underlying="p i">mi</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" underlying="p i">mi</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zo̰m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pi&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kon d͡zo̰mit͡ʃif niq</p>
+  <p>дә’кон ѕо’мичиф ниԟ</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zo̰m-</o>
+      <g>3.sing.fem.indicative.PRES</g>
+    </w>
+    <w>
+      <o>pi</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
    </vp>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for run/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PRES
About to call getSlotValue for run/verb/obj/obligatory
Got none
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" case="NOM" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </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" case="NOM" gender="fem">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="m o&#x2D0;" slots="Cmr V1">moː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/m/ + /m/ > // + /m/
/oː/ + /p/ > /oː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="m o&#x2D0;" slots="Cmr V1">moː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="m o&#x2D0;">moː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="m o&#x2D0;">moː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">moː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zo̰m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;moː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kon d͡zo̰moːt͡ʃif</p>
+  <p>дә’кон ѕо’моочиф</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zo̰m-</o>
+      <g>3.sing.fem.indicative.PRES</g>
+    </w>
+    <w>
+      <o>moː</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="tr_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:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
      <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.fem" obj="3.sing.fem">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem">
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
    </np>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative

addaffixes:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem" ph="f o z i" slots="Cmr V1">fozi</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/m/ + /f/ > // + /m/
/i/ + /t/ > /i/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /d/ > // + /t/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330; m" slots="Cip Cir">d͡zo̰m</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem" ph="f o z i" slots="Cmr V1">fozi</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem" ph="m o z i" underlying="f o z i">mozi</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" attach="prefix" ph="d&#x361;z o&#x330;" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem" ph="m o z i" underlying="f o z i">mozi</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PRES" underlying="d&#x361;z o&#x330; m">d͡zo̰</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.fem" underlying="f o z i">mozi</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zo̰m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fozi&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;-t&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;-t͡ʃif&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kon d͡zo̰mozit͡ʃif d͡zæ̰tiːʒɑd͡ʒ</p>
+  <p>дә’кон ѕо’мозичиф ѕә’тиижаџ</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zo̰m-</o>
+      <g>3.sing.fem.indicative.PRES</g>
+    </w>
+    <w>
+      <o>fozi</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
      <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.fem" obj="3.sing.fem">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
      <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.fem" obj="3.sing.fem">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="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="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.sing.fem"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for catch/verb/obj/obligatory
Got 3.sing.fem
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
      <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.sing.fem"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
    </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" case="NOM" gender="fem">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <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.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <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.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/d/ + /q/ > // + /q/
/eː/ + /t/ > /eː/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /d/ > // + /t/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.sing.fem" ph="q e&#x2D0;">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.sing.fem" ph="q e&#x2D0;">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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.sing.fem">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;qeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kon fo̰qeːt͡ʃif niq d͡zæ̰tiːʒɑd͡ʒ</p>
+  <p>дә’кон фо’ԟеечиф ниԟ ѕә’тиижаџ</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>qeː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module 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" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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" case="ACC">
+    <np role="obj" tr="rheme" case="ACC" gender="fem">
      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <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" case="NOM" 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" case="ACC" gender="fem">
+    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
-    <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.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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.fem" ph="k&#x2B7; i&#x2D0;" slots="Cmr V1">kʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="q&#x2B7;" slots="Cms Cms">qʷ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="n e m o&#x330; p" slots="Cmr Cfr">nemo̰p</word>
+    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w" slots="Cir Cfr">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="q i&#x2D0; w i&#x330; r" slots="Cmr Cfr">qiːwḭr</word>
+    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w" slots="Cir Cfr">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="z i f i&#x330; t&#x361;&#x283;" slots="Cmr Cfr">zifḭt͡ʃ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /w/ > // + /kʷ/
/s/ + /kʷ/ > // + /s+kʷ/
/iː/ + /qʷ/ > /iː/ + /qʷ/
/qʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /d͡z/ > // + /d͡z/
/kʷ/ + /n/ > // + /ŋʷ/
/d͡ʒ/ + /d͡z/ > // + /d͡z/
/kʷ/ + /q/ > // + /q/
/d͡ʒ/ + /d͡z/ > // + /d͡z/
/kʷ/ + /z/ > // + /t͡s/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="w &#x251; p o n" slots="Cmr Cfr">wɑpon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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.fem" ph="k&#x2B7; i&#x2D0;" slots="Cmr V1">kʷiː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="q&#x2B7;" slots="Cms Cms">qʷ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="n e m o&#x330; p" slots="Cmr Cfr">nemo̰p</word>
-    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w" slots="Cir Cfr">d͡ʒiw</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="q i&#x2D0; w i&#x330; r" slots="Cmr Cfr">qiːwḭr</word>
-    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w" slots="Cir Cfr">d͡ʒiw</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330; k&#x2B7;" slots="Cip Cir">d͡zḛkʷ</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="z i f i&#x330; t&#x361;&#x283;" slots="Cmr Cfr">zifḭt͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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.fem" ph="s+k&#x2B7; i&#x2D0;" underlying="k&#x2B7; i&#x2D0;">skʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="" underlying="q&#x2B7;"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="&#x14B;&#x2B7; e m o&#x330; p" underlying="n e m o&#x330; p">ŋʷemo̰p</word>
+    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="q i&#x2D0; w i&#x330; r">qiːwḭr</word>
+    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t&#x361;s i f i&#x330; t&#x361;&#x283;" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="k&#x2B7; &#x251; p o n" underlying="w &#x251; p o n">kʷɑpon</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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.fem" ph="s+k&#x2B7; i&#x2D0;" underlying="k&#x2B7; i&#x2D0;">skʷiː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" attach="suffix" ph="" underlying="q&#x2B7;"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="&#x14B;&#x2B7; e m o&#x330; p" underlying="n e m o&#x330; p">ŋʷemo̰p</word>
-    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w">d͡ʒiw</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="q i&#x2D0; w i&#x330; r">qiːwḭr</word>
-    <word posp="conj" gloss="and" ph="d&#x361;&#x292; i w">d͡ʒiw</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;z e&#x330;" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t&#x361;s i f i&#x330; t&#x361;&#x283;" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" underlying="w &#x251; p o n">kʷɑpon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" underlying="n o s">no</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.fem" underlying="k&#x2B7; i&#x2D0;">skʷiː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.fem.OBJ" underlying="q&#x2B7;"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" underlying="n e m o&#x330; p">ŋʷemo̰p</word>
+    <word posp="conj" gloss="and">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">qiːwḭr</word>
+    <word posp="conj" gloss="and">d͡ʒiw</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;z e&#x330; k&#x2B7;">d͡zḛ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" underlying="z i f i&#x330; t&#x361;&#x283;">t͡sifḭt͡ʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;wɑpon&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;nos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&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;kʷiː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zḛkʷ-&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;nemo̰p&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;d͡ʒiw&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zḛkʷ-&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;qiːwḭr&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;d͡ʒiw&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zḛkʷ-&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;zifḭt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰kʷɑpon noskʷiːt͡ʃif niq d͡zḛŋʷemo̰p d͡ʒiw d͡zḛqiːwḭr d͡ʒiw d͡zḛt͡sifḭt͡ʃ</p>
+  <p>дә’квапон носквиичиф ниԟ ѕе’ӈвемо’п џив ѕе’ԟииви’р џив ѕе’цифи’ч</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wɑpon</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>nos-</o>
+      <g>3.sing.masc.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kʷiː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-qʷ</o>
+      <g>3.plur.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>d͡zḛkʷ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>nemo̰p</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>d͡ʒiw</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>d͡zḛkʷ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>qiːwḭr</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>d͡ʒiw</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>d͡zḛkʷ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>zifḭt͡ʃ</o>
+      <g>lion</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" 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" case="ACC" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" 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 def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <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" case="NOM" 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 def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <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.fem">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <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="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PAST
About to call getSlotValue for pat/verb/obj/obligatory
Got 3.sing.fem
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got ACC
About to call getSlotValue for cat/noun/number/obligatory
Got sing
<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.fem">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
      <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="verbobj" function="suffix" gloss="3.sing.fem"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    </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.fem">
+  <flat>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
-    <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="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</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" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /d/ > // + /d/
/æː/ + /t/ > /æː/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /ɡ/ > // + /k/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</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" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</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" ph="d i j &#xE6;&#x2D0;">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</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" ph="d i j &#xE6;&#x2D0;">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" underlying="k&#x2B7; &#x251; b">kʷɑ</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">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" underlying="&#x261; o n">kon</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷɑb-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&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;dijæː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;ɡon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷɑdijæːt͡ʃif niq d͡zæ̰kon</p>
+  <p>квадијәәчиф ниԟ ѕә’кон</p>
+  <il>
+    <w>
+      <o>kʷɑb-</o>
+      <g>1excl.sing.indicative.PAST</g>
+    </w>
+    <w>
+      <o>dijæː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

addaffixes:

About to call getSlotValue for pat/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PAST
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for catch/verb/obj/obligatory
Got 3.sing.fem
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np id="parent" gender="fem" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
+        <thingy type="nounnumber" function="prefix" gloss="sing"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </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">
+          <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
          <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.sing.fem"/>
+          <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem">
+          <thingy type="nouncase" function="prefix" gloss="ACC"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem"/>
        </np>
      </relp>
    </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">
+  <flat>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np id="parent" gender="fem" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <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.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <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.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /d/ > // + /d/
/æː/ + /p/ > /æː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/eː/ + /e/ > // + /e/
/d/ + /q/ > // + /q/
/eː/ + /t/ > /eː/ + /t/
/t/ + /t͡ʃ/ > // + /t͡ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /d/ > // + /t/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="t" slots="Cms Cms">t</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.sing.fem" ph="q e&#x2D0;">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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.sing.fem" ph="q e&#x2D0;">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" attach="suffix" ph="" underlying="t"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" underlying="&#x261; o n">kon,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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.sing.fem">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.fem.OBJ" underlying="t"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷɑb-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&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;dijæː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;qeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷɑdijæːt͡ʃif niq dæ̰kon, d͡zet͡s fo̰qeːt͡ʃif niq d͡zæ̰tiːʒɑd͡ʒ</p>
+  <p>квадијәәчиф ниԟ дә’кон, ѕец фо’ԟеечиф ниԟ ѕә’тиижаџ</p>
+  <il>
+    <w>
+      <o>kʷɑb-</o>
+      <g>1excl.sing.indicative.PAST</g>
+    </w>
+    <w>
+      <o>dijæː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>qeː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>3.sing.fem.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np id="parent" gender="fem" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="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.fem"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="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.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.fem" obj="3.sing.neut"/>
              <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for pat/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PAST
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for catch/verb/obj/obligatory
Got none
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for eat/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for eat/verb/obj/obligatory
Got 3.sing.neut
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cheese/noun/case/obligatory
Got ACC
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
<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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np id="parent" gender="fem" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
+        <thingy type="nounnumber" function="prefix" gloss="sing"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
+          <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
+          <thingy type="verbobj" function="suffix" gloss="none"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
+            <thingy type="nouncase" function="prefix" gloss="NOM"/>
+            <thingy type="nounnumber" function="prefix" gloss="sing"/>
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">
+              <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
+              <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
+              <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
              <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut">
+              <thingy type="nouncase" function="prefix" gloss="ACC"/>
+              <thingy type="nounnumber" function="prefix" gloss="sing"/>
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
            </np>
          </relp>
        </np>
      </relp>
    </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">
+  <flat>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np id="parent" gender="fem" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-        </vp>
-        <np id="parent" gender="fem" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.neut" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after" ph="l u q&#x2B7; e b" slots="Cmr Cfr">luqʷeb</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /d/ > // + /d/
/æː/ + /p/ > /æː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/eː/ + /e/ > // + /e/
/d/ + /q/ > // + /q/
/eː/ + /p/ > /eː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /d/ > // + /t/
/eː/ + /e/ > // + /e/
/d/ + /d͡z/ > // + /d/
/e/ + /s/ > /e/ + /s/
/s/ + /t͡ʃ/ > // + /ʃ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /l/ > // + /t/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" obj="3.sing.neut" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after" ph="l u q&#x2B7; e b" slots="Cmr Cfr">luqʷeb</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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" ph="q e&#x2D0;">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut" ph="d e" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after" ph="t u q&#x2B7; e b" underlying="l u q&#x2B7; e b">tuqʷeb</word>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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" ph="q e&#x2D0;">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut" ph="d e" underlying="d&#x361;z e">de</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after" ph="t u q&#x2B7; e b" underlying="l u q&#x2B7; e b">tuqʷeb</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" underlying="&#x261; o n">kon,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="neut" comma="after" underlying="l u q&#x2B7; e b">tuqʷeb</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷɑb-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&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;dijæː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;qeː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ze&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;-s&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;luqʷeb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷɑdijæːt͡ʃif niq dæ̰kon, d͡zet͡s fo̰qeːt͡ʃif niq dæ̰tiːʒɑd͡ʒ, d͡zet͡s fo̰deʃif niq d͡zæ̰tuqʷeb</p>
+  <p>квадијәәчиф ниԟ дә’кон, ѕец фо’ԟеечиф ниԟ дә’тиижаџ, ѕец фо’дешиф ниԟ ѕә’туԟвеб</p>
+  <il>
+    <w>
+      <o>kʷɑb-</o>
+      <g>1excl.sing.indicative.PAST</g>
+    </w>
+    <w>
+      <o>dijæː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>qeː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ze</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>luqʷeb</o>
+      <g>cheese</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np id="parent" gender="fem" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="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.fem"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
-              <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.fem"/>
              <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
            </vp>
            <np id="parent" gender="neut" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="neut">
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut">
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing">
-                  <word posp="verb" gloss="buy"/>
+                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing"/>
                  <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="neut" 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" case="NOM"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for pat/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PAST
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for catch/verb/obj/obligatory
Got none
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for eat/verb/subj.mode.ta/obligatory
Got 3.sing.fem.indicative.PAST
About to call getSlotValue for eat/verb/obj/obligatory
Got none
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for buy/verb/subj.mode.ta/obligatory
Got 1excl.sing.indicative.PAST
About to call getSlotValue for buy/verb/obj/obligatory
Got 3.sing.neut
About to call getSlotValue for buy/verb/question/obligatory
Got not.Q
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
<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">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np id="parent" gender="fem" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
+        <thingy type="nounnumber" function="prefix" gloss="sing"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
+          <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
+          <thingy type="verbobj" function="suffix" gloss="none"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
+            <thingy type="nouncase" function="prefix" gloss="NOM"/>
+            <thingy type="nounnumber" function="prefix" gloss="sing"/>
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
+              <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
+              <thingy type="verbobj" function="suffix" gloss="none"/>
+              <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
              <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
            </vp>
            <np id="parent" gender="neut" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="neut">
+                <thingy type="nouncase" function="prefix" gloss="NOM"/>
+                <thingy type="nounnumber" function="prefix" gloss="sing"/>
                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut">
                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing">
+                  <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing"/>
+                  <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
+                  <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
                  <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="neut" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </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">
+  <flat>
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np id="parent" gender="fem" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-        </vp>
-        <np id="parent" gender="fem" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-            </vp>
-            <np id="parent" gender="neut" number="sing" case="NOM">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="neut">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="neut" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </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>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut" ph="l u q&#x2B7; e b" slots="Cmr Cfr">luqʷeb</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing" ph="s o" slots="Cmr V1">so</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="t e" slots="Cir V1">te</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /d/ > // + /d/
/æː/ + /p/ > /æː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /ɡ/ > // + /k/
/eː/ + /e/ > // + /e/
/d/ + /q/ > // + /q/
/eː/ + /p/ > /eː/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /d/ > // + /t/
/eː/ + /e/ > // + /e/
/d/ + /d͡z/ > // + /d/
/e/ + /p/ > /e/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/j/ + /t/ > // + /d/
/k/ + /l/ > // + /t/
/eː/ + /e/ > // + /e/
/b/ + /s/ > // + /d͡z/
/o/ + /s/ > /o/ + /s/
/s/ + /t͡ʃ/ > // + /ʃ/
/e/ + /e/ > // + /e/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;" slots="Cmr V1">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x261; o n" slots="Cmr Cfr">ɡon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="q e&#x2D0;" slots="Cmr V1">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" slots="Cmr Cfr">diːʒɑd͡ʒ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330; d" slots="Cip Cir">fo̰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.fem" ph="d&#x361;z e" slots="Cmr V1">d͡ze</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut" ph="l u q&#x2B7; e b" slots="Cmr Cfr">luqʷeb</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut" ph="d&#x361;z e&#x2D0;" slots="Cir V1">d͡zeː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251; b" slots="Cip Cir">kʷɑb</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing" ph="s o" slots="Cmr V1">so</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="t e" slots="Cir V1">te</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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" ph="q e&#x2D0;">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" ph="d e" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut" ph="t u q&#x2B7; e b" underlying="l u q&#x2B7; e b">tuqʷeb</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing" ph="d&#x361;z o" underlying="s o">d͡zo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="t" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d i j &#xE6;&#x2D0;">dijæː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k o n" underlying="&#x261; o n">kon</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</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" ph="q e&#x2D0;">qeː</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="t i&#x2D0; &#x292; &#x251; d&#x361;&#x292;" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" attach="prefix" ph="f o&#x330;" underlying="f o&#x330; d">fo̰</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" ph="d e" underlying="d&#x361;z e">de</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut" ph="t u q&#x2B7; e b" underlying="l u q&#x2B7; e b">tuqʷeb</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut" ph="d&#x361;z" underlying="d&#x361;z e&#x2D0;">d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" attach="prefix" ph="k&#x2B7; &#x251;" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing" ph="d&#x361;z o" underlying="s o">d͡zo</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="t" underlying="t e">t</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">dijæː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" underlying="&#x261; o n">kon,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</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">qeː</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" underlying="d i&#x2D0; &#x292; &#x251; d&#x361;&#x292;">tiːʒɑd͡ʒ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.fem.indicative.PAST" underlying="f o&#x330; d">fo̰</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" underlying="d&#x361;z e">de</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="neut" underlying="l u q&#x2B7; e b">tuqʷeb,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="neut" underlying="d&#x361;z e&#x2D0;">d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PAST" underlying="k&#x2B7; &#x251; b">kʷɑ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.neut" subj="1excl.sing" underlying="s o">d͡zo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" comma="after" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷɑb-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&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;dijæː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;ɡon&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;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&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;qeː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;diːʒɑd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;fo̰d-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ze&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;luqʷeb&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;d͡zeː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-et͡s&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;kʷɑb-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&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;so&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;-s&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;te&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;-et͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷɑdijæːt͡ʃif niq dæ̰kon, d͡zet͡s fo̰qeːt͡ʃif niq dæ̰tiːʒɑd͡ʒ, d͡zet͡s fo̰det͡ʃif niq dæ̰tuqʷeb, d͡zet͡s kʷɑd͡zoʃif niq tet͡s</p>
+  <p>квадијәәчиф ниԟ дә’кон, ѕец фо’ԟеечиф ниԟ дә’тиижаџ, ѕец фо’дечиф ниԟ дә’туԟвеб, ѕец кваѕошиф ниԟ тец</p>
+  <il>
+    <w>
+      <o>kʷɑb-</o>
+      <g>1excl.sing.indicative.PAST</g>
+    </w>
+    <w>
+      <o>dijæː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡon</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>qeː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>diːʒɑd͡ʒ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fo̰d-</o>
+      <g>3.sing.fem.indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ze</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>luqʷeb</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>d͡zeː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʷɑb-</o>
+      <g>1excl.sing.indicative.PAST</g>
+    </w>
+    <w>
+      <o>so</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>te</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="masc" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
          <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" case="DAT" gender="fem">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="neut">
          <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.masc" indobj="3.sing.neut">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for give/verb/subj.mode.ta/obligatory
Got 3.sing.masc.indicative.PAST
About to call getSlotValue for give/verb/obj/obligatory
Got 3.sing.neut
About to call getSlotValue for give/verb/question/obligatory
Got not.Q
About to call getSlotValue for girl/noun/case/obligatory
Got DAT
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/case/obligatory
Got ACC
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for surprise/verb/subj.mode.ta/obligatory
Got 3.sing.masc.indicative.PAST
About to call getSlotValue for surprise/verb/obj/obligatory
Got none
About to call getSlotValue for surprise/verb/question/obligatory
Got not.Q
About to call getSlotValue for teacher/noun/case/obligatory
Got DAT
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="masc" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
+          <thingy type="nouncase" function="prefix" gloss="NOM"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
        </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">
+          <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
          <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="verbobj" function="suffix" gloss="3.sing.neut"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
          <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
+          <thingy type="nouncase" function="prefix" gloss="DAT"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="neut">
+          <thingy type="nouncase" function="prefix" gloss="ACC"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut">
+      <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut">
+      <thingy type="nouncase" function="prefix" gloss="DAT"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut"/>
    </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" case="NOM" gender="masc" number="sing">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
-        </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">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
    <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="verbobj" function="suffix" gloss="3.sing.neut"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="ACC" gender="neut">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut">
    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
-    <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="verbobj" function="suffix" gloss="3.sing.neut"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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="d&#x361;&#x292; u" slots="Cmr V1">d͡ʒu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t" slots="Cmr Cfr">ŋḭt</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing" ph="l i t&#x361;&#x283; &#xE6; r" slots="Cir Cfr">lit͡ʃær</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut" ph="p o p &#x251;" slots="Cmr V1">popɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut" ph="&#x261; i&#x2D0; t &#xE6; r" slots="C C">ɡiːtær</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /m/ > // + /ŋ/
/s/ + /d͡ʒ/ > // + /ʃ/
/u/ + /s/ > /u/ + /s/
/s/ + /t͡ʃ/ > // + /ʃ/
/m/ + /t/ > // + /n/
/k/ + /ŋ/ > // + /ŋ/
/d͡ʒ/ + /t/ > // + /d͡z/
/k/ + /qʷ/ > // + /qʷ/
/s/ + /p/ > // + /s+p/
/ɑ/ + /p/ > /ɑ/ + /p/
/p/ + /t͡ʃ/ > // + /t͡ʃ/
/m/ + /t/ > // + /n/
/k/ + /ɡ/ > // + /k/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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="d&#x361;&#x292; u" slots="Cmr V1">d͡ʒu</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="s" slots="Cms Cms">s</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t" slots="Cmr Cfr">ŋḭt</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;" slots="Cmr Cfr">qʷot͡sæd͡ʒ</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing" ph="l i t&#x361;&#x283; &#xE6; r" slots="Cir Cfr">lit͡ʃær</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut" ph="p o p &#x251;" slots="Cmr V1">popɑ</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="p" slots="Cms Cms">p</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut" ph="&#x261; i&#x2D0; t &#xE6; r" slots="C C">ɡiːtær</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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="&#x283; u" underlying="d&#x361;&#x292; u">ʃu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t">ŋḭt</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing" ph="l i t&#x361;&#x283; &#xE6; r">lit͡ʃær</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut" ph="s+p o p &#x251;" underlying="p o p &#x251;">spopɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut" ph="k i&#x2D0; t &#xE6; r" underlying="&#x261; i&#x2D0; t &#xE6; r">kiːtær</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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="&#x283; u" underlying="d&#x361;&#x292; u">ʃu</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" attach="suffix" ph="" underlying="s"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x283; i f" underlying="t&#x361;&#x283; i f">ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t">ŋḭt</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d&#x361;z &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut" ph="q&#x2B7; o t&#x361;s &#xE6; d&#x361;&#x292;">qʷot͡sæd͡ʒ</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing" ph="l i t&#x361;&#x283; &#xE6; r">lit͡ʃær</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut" ph="s+p o p &#x251;" underlying="p o p &#x251;">spopɑ</word>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="" underlying="p"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut" ph="k i&#x2D0; t &#xE6; r" underlying="&#x261; i&#x2D0; t &#xE6; r">kiːtær</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" underlying="m i r">ŋir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" underlying="n o s">no</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" underlying="d&#x361;&#x292; u">ʃu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.neut.OBJ" underlying="s"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">ŋḭt</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="d&#x361;&#x292;"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">d͡zæ̰</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="neut">qʷot͡sæd͡ʒ</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="masc" number="sing">lit͡ʃær</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" underlying="n o s">no</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.neut" underlying="p o p &#x251;">spopɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="p"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="neut" underlying="&#x261; i&#x2D0; t &#xE6; r">kiːtær</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;mir&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;nos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒu&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;-s&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;ŋḭt&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;qʷot͡sæd͡ʒ&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;lit͡ʃæ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;nos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&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;popɑ&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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ːtær&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dæ̰ŋir noʃuʃif niq næ̰ŋḭt d͡zæ̰qʷot͡sæd͡ʒ lit͡ʃær nospopɑt͡ʃif niq næ̰kiːtær</p>
+  <p>дә’ӈир ношушиф ниԟ нә’ӈи’т ѕә’ԟвоцәџ личәр носпопачиф ниԟ нә’киитәр</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mir</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>nos-</o>
+      <g>3.sing.masc.indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ʒu</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>3.sing.neut.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>m-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋḭt</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>qʷot͡sæd͡ʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>lit͡ʃær</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>nos-</o>
+      <g>3.sing.masc.indicative.PAST</g>
+    </w>
+    <w>
+      <o>popɑ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>m-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡiːtær</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST"/>
-    <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="verbobj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES"/>
-    <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="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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="f &#x251;" slots="Cmr V1">fɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="d" slots="Cms Cms">d</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t" slots="Cmr Cfr">ŋḭt</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" ph="t e" slots="Cir V1">te</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o s" slots="Cip Cir">ʒos</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="s e&#x330;" slots="Cmr V1">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="b" slots="Cms Cms">b</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p o" slots="Cir V1">po</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl" ph="l i t&#x361;&#x283; &#xE6; r" slots="Cir Cfr">lit͡ʃær</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/j/ + /t/ > // + /d/
/k/ + /m/ > // + /ŋ/
/s/ + /f/ > // + /f/
/ɑ/ + /d/ > /ɑ/ + /d/
/d/ + /t͡ʃ/ > // + /d͡ʒ/
/m/ + /t/ > // + /n/
/k/ + /ŋ/ > // + /ŋ/
/e/ + /e/ > // + /e/
/s/ + /s/ > // + /s/
/ḛ/ + /b/ > /ḛ/ + /b/
/b/ + /t͡ʃ/ > // + /d͡ʒ/
/o/ + /e/ > // + /e/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="j" slots="Cip Cip">j</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="m i r" slots="Cmr Cfr">mir</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o s" slots="Cip Cir">nos</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="f &#x251;" slots="Cmr V1">fɑ</word>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="d" slots="Cms Cms">d</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="m" slots="Cip Cip">m</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="t &#xE6;&#x330; k" slots="Cip Cir">tæ̰k</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t" slots="Cmr Cfr">ŋḭt</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" ph="t e" slots="Cir V1">te</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o s" slots="Cip Cir">ʒos</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="s e&#x330;" slots="Cmr V1">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="b" slots="Cms Cms">b</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="t&#x361;&#x283; i f" slots="Cms Cfs">t͡ʃif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q" slots="Cis Cfs">niq</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p o" slots="Cir V1">po</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s" slots="V1 Cfs">et͡s</thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl" ph="l i t&#x361;&#x283; &#xE6; r" slots="Cir Cfr">lit͡ʃær</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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="f &#x251;">fɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="" underlying="d"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t">ŋḭt</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" ph="t" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o" underlying="&#x292; o s">ʒo</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="s e&#x330;">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="" underlying="b"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl" ph="l i t&#x361;&#x283; &#xE6; r">lit͡ʃær</word>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="j"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="d &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="&#x14B; i r" underlying="m i r">ŋir</word>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" attach="prefix" ph="n o" underlying="n o s">no</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="f &#x251;">fɑ</word>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="" underlying="d"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="m"></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="n &#xE6;&#x330;" underlying="t &#xE6;&#x330; k">næ̰</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="&#x14B; i&#x330; t">ŋḭt</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" ph="t" underlying="t e">t</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" attach="prefix" ph="&#x292; o" underlying="&#x292; o s">ʒo</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="s e&#x330;">sḛ</word>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="" underlying="b"></thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="d&#x361;&#x292; i f" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
-    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS" ph="n i q">niq</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" ph="p" underlying="p o">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e t&#x361;s">et͡s</thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl" ph="l i t&#x361;&#x283; &#xE6; r">lit͡ʃær</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="j"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">dæ̰</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" underlying="m i r">ŋir</word>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="3.sing.masc.indicative.PAST" underlying="n o s">no</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">fɑ</word>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" underlying="d"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="m"></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="t &#xE6;&#x330; k">næ̰</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">ŋḭt</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" case="NOM" underlying="t e">t</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <thingy type="verbsubj.mode.ta" function="prefix" gloss="1excl.sing.indicative.PRES" underlying="&#x292; o s">ʒo</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">sḛ</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" underlying="b"></thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="t&#x361;&#x283; i f">d͡ʒif</thingy>
+    <thingy type="vpvoice.negation" function="enclitic" gloss="active.POS">niq</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" case="ACC" underlying="p o">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">et͡s</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="masc" number="sing" person="1excl">lit͡ʃær</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;j-&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;tæ̰k-&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;mir&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;nos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc.indicative.&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;fɑ&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;-d&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæ̰k-&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;ŋḭt&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;te&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;-et͡s&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;ʒos-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sḛ&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;-b&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;-t͡ʃif&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;niq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;po&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;-et͡s&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;lit͡ʃæ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>dæ̰ŋir nofɑd͡ʒif niq næ̰ŋḭt tet͡s ʒosḛd͡ʒif niq pet͡s lit͡ʃær</p>
+  <p>дә’ӈир нофаџиф ниԟ нә’ӈи’т тец жосе’џиф ниԟ пец личәр</p>
+  <il>
+    <w>
+      <o>j-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mir</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>nos-</o>
+      <g>3.sing.masc.indicative.PAST</g>
+    </w>
+    <w>
+      <o>fɑ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>m-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tæ̰k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋḭt</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>te</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʒos-</o>
+      <g>1excl.sing.indicative.PRES</g>
+    </w>
+    <w>
+      <o>sḛ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-t͡ʃif</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>niq</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-et͡s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>lit͡ʃær</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>