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

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

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

addaffixes:

About to call getSlotValue for woman/noun/number/obligatory
Got sing
About to call getSlotValue for woman/noun/case/obligatory
Got NOM
About to call getSlotValue for knife/noun/number/obligatory
Got sing
About to call getSlotValue for knife/noun/case/obligatory
Got NOM
About to call getSlotValue for blind/noun/number/obligatory
Got sing
About to call getSlotValue for blind/noun/case/obligatory
Got GEN
About to call getSlotValue for yon/det/number.case/optional
Got plur.ACC
About to call getSlotValue for three/num/case/obligatory
Got ACC
About to call getSlotValue for mouse/noun/number/obligatory
Got plur
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
About to call getSlotValue for catch/verb/ta/optional
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice.negation/obligatory
Got active.POS
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
      </pp>
    </np>
    <np number="sing" def="def" role="owner" case="GEN">
      <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">
      <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
+      <thingy type="detnumber.case" function="suffix" gloss="plur.ACC"/>
      <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
+      <thingy type="numcase" function="suffix" gloss="ACC"/>
      <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-      </pp>
-    </np>
-    <np number="sing" def="def" role="owner" case="GEN">
    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">
    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    <thingy type="detnumber.case" function="suffix" gloss="plur.ACC"/>
    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    <thingy type="numcase" function="suffix" gloss="ACC"/>
    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    <thingy type="detnumber.case" function="suffix" gloss="plur.ACC"/>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    <thingy type="numcase" function="suffix" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d u &#x2C8; &#x14B;">duˈŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="m i &#x261; o &#x2C8; l">miɡoˈl</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="l i&#x2D0; &#x2C8; &#x283;+t">liːˈʃt</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="s+k a&#x2D0; &#x2C8; d&#x361;z">skaːˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x272; i &#x2C8;">ɲiˈ</word>
+    <thingy type="detnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="u z a &#x14B;">uzaŋ</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="j o &#x2C8;">joˈ</word>
+    <thingy type="numcase" function="suffix" gloss="ACC" attach="suffix" ph="&#x283;+k i n">ʃkin</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="d u &#x2C8; &#x14B;">duˈŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="m i &#x261; o &#x2C8; l">miɡoˈl</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="l i&#x2D0; &#x2C8; &#x283;+t">liːˈʃt</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="s+k a&#x2D0; &#x2C8; d&#x361;z">skaːˈd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x272; i &#x2C8;">ɲiˈ</word>
-    <thingy type="detnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="u z a &#x14B;">uzaŋ</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="j o &#x2C8;">joˈ</word>
-    <thingy type="numcase" function="suffix" gloss="ACC" attach="suffix" ph="&#x283;+k i n">ʃkin</thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM">duˈŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">miɡoˈl</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">liːˈʃt</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN">skaːˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">ɲiˈ</word>
+    <thingy type="detnumber.case" function="suffix" gloss="plur.ACC">uzaŋ</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">joˈ</word>
+    <thingy type="numcase" function="suffix" gloss="ACC">ʃkin</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduŋ&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;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈɡol&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;ˈliːʃt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;knife&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;ˈskaːd͡z&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;-u&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;-waŋ&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;ˈɲi&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;-uzaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&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;ˈjo&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;-ʃkin&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;xʷiˈd͡ʒuɡʷ&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;-a&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;-nil&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;ˈzbaː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈduŋuzɡʷan miˈɡol ˈliːʃtuzɡʷan ˈskaːd͡zuwaŋ ˈɲiuzaŋ ˈjoʃkin xʷiˈd͡ʒuɡʷanil ˈzbaːjukar</p>
+  <p>dunguzgwan migol liishtuzgwan skaadzuwang ñiuzang yoshkin khwijugwanil zbaayukar</p>
+  <il>
+    <w>
+      <o>ˈduŋ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>miˈɡol</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈliːʃt</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈskaːd͡z</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈɲi</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-uzaŋ</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈjo</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>-ʃkin</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>xʷiˈd͡ʒuɡʷ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-a</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈzbaː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u &#x2C8;">luˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u &#x2C8;">luˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">luˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈlu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈmem ˈlukar</p>
+  <p>mem lukar</p>
+  <il>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈlu</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</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 adj2noun:

No change.

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

module markowner:

No change.

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

About to call getSlotValue for love/verb/ta/optional
Got PRES
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/voice.negation/obligatory
Got active.POS
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u &#x2C8;">luˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u &#x2C8;">luˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM">meˈm</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">luˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈlu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈmem ˈmem ˈlukar</p>
+  <p>mem mem lukar</p>
+  <il>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈlu</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="hate"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

About to call getSlotValue for NN1/noun/number/obligatory
Got sing
About to call getSlotValue for NN1/noun/case/obligatory
Got NOM
About to call getSlotValue for NN2/noun/number/obligatory
Got sing
About to call getSlotValue for NN2/noun/case/obligatory
Got ACC
About to call getSlotValue for hate/verb/ta/optional
Got PRES
About to call getSlotValue for hate/verb/mode/obligatory
Got indicative
About to call getSlotValue for hate/verb/voice.negation/obligatory
Got active.POS
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Disahpish hates Ztigad.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="Disahpish" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="d i &#x283;+p i &#x2C8; &#x283;">diʃpiˈʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="Ztigad" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="z+t i &#x261; a&#x2D0; &#x2C8; d">ztiɡaːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="n a z+t i&#x2D0; &#x2C8;">naztiːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Disahpish hates Ztigad.">
  <flat>
-    <word posp="noun" gloss="Disahpish" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="d i &#x283;+p i &#x2C8; &#x283;">diʃpiˈʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="Ztigad" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="z+t i &#x261; a&#x2D0; &#x2C8; d">ztiɡaːˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="n a z+t i&#x2D0; &#x2C8;">naztiːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="Disahpish" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes">diʃpiˈʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="Ztigad" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes">ztiɡaːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">naztiːˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈʃpiʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Disahpish&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;ztiˈɡaːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Ztigad&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;naˈztiː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>diˈʃpiʃuzɡʷan ztiˈɡaːdunil naˈztiːkar</p>
+  <p>Dishpishuzgwan Ztigaadunil naztiikar</p>
+  <il>
+    <w>
+      <o>diˈʃpiʃ</o>
+      <g>Disahpish</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ztiˈɡaːd</o>
+      <g>Ztigad</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>naˈztiː</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʑiːk͡xʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;kʷiˈd͡ʒid͡z&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;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈd͡ʑiːk͡xʷuwaŋ kʷiˈd͡ʒid͡zuzɡʷan</p>
+  <p>d͡ʑiikkhwuwang quijidzuzgwan</p>
+  <il>
+    <w>
+      <o>ˈd͡ʑiːk͡xʷ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>kʷiˈd͡ʒid͡z</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">meˈm</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷiˈd͡ʒid͡z&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;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmem kʷiˈd͡ʒid͡zuzɡʷan</p>
+  <p>mem quijidzuzgwan</p>
+  <il>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kʷiˈd͡ʒid͡z</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">ŋeˈŋ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋeŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷiˈd͡ʒid͡z&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;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈŋeŋ kʷiˈd͡ʒid͡zuzɡʷan</p>
+  <p>ngeng quijidzuzgwan</p>
+  <il>
+    <w>
+      <o>ˈŋeŋ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kʷiˈd͡ʒid͡z</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
  </s>
</example>

module 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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
  </s>
</example>

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

unwrapOwnerOwned:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/case/obligatory
Got NOM
About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/case/obligatory
Got GEN
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/case/obligatory
Got ACC
About to call getSlotValue for kiss/verb/ta/optional
Got PAST
About to call getSlotValue for kiss/verb/mode/obligatory
Got indicative
About to call getSlotValue for kiss/verb/voice.negation/obligatory
Got active.POS
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </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="owner" case="GEN">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p i &#x2C8; p">piˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x272; a x&#x2B7; a&#x2D0; &#x2C8; s">ɲaxʷaːˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="d&#x361;&#x292; o&#x2D0; &#x2C8; j">d͡ʒoːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="x u x a &#x2C8;">xuxaˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p i &#x2C8; p">piˈp</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x272; a x&#x2B7; a&#x2D0; &#x2C8; s">ɲaxʷaːˈs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="d&#x361;&#x292; o&#x2D0; &#x2C8; j">d͡ʒoːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="x u x a &#x2C8;">xuxaˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM">piˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">xʷeˈs</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">ɲaxʷaːˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC">d͡ʒoːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">xuxaˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲuˈʃtoːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;ˈpip&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;-u&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;-zɡʷan&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;ˈxʷes&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;ɲaˈxʷaːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;ˈd͡ʒoːj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;xuˈxa&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ɲuˈʃtoːnuwaŋ ˈpipuzɡʷan ˈxʷes ɲaˈxʷaːsuwaŋ ˈd͡ʒoːjunil xuˈxajukar</p>
+  <p>ñushtoonuwang pipuzgwan khwes ñakhwaasuwang jooyunil khukhayukar</p>
+  <il>
+    <w>
+      <o>ɲuˈʃtoːn</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈpip</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈxʷes</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ɲaˈxʷaːs</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒoːj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>xuˈxa</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<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 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">
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x272; a z+&#x261;&#x2B7; i &#x2C8; k&#x361;x">ɲazɡʷiˈk͡x</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x272; a z+&#x261;&#x2B7; i &#x2C8; k&#x361;x">ɲazɡʷiˈk͡x</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM">ɲazɡʷiˈk͡x</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲaˈzɡʷik͡x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲaˈzɡʷik͡xuzɡʷan</p>
+  <p>ñazgwikkhuzgwan</p>
+  <il>
+    <w>
+      <o>ɲaˈzɡʷik͡x</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb1" translation="a little lamb">
-  <np def="indef" number="sing" tr="rheme">
-    <noun>lamb</noun>
-    <adj>little</adj>
+  <np def="indef" number="sing" tr="rheme" locus="number">
+    <word posp="noun" gloss="lamb"/>
+    <word posp="adj" gloss="little"/>
  </np>
</example>
The adjective 'little' will be incorporated. Resistance is useless.

module adj2noun:

No change.

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <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" ph="&#x272; a z+&#x261;&#x2B7; i &#x2C8; k&#x361;x">ɲazɡʷiˈk͡x</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="a b">ab</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <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" ph="&#x272; a z+&#x261;&#x2B7; i &#x2C8; k&#x361;x">ɲazɡʷiˈk͡x</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="a b">ab</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM">ɲazɡʷiˈk͡x</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">ab</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲaˈzɡʷik͡x&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;-ab&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲaˈzɡʷik͡xabuzɡʷan</p>
+  <p>ñazgwikkhabuzgwan</p>
+  <il>
+    <w>
+      <o>ɲaˈzɡʷik͡x</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ab</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <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="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u &#x2C8;">luˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u &#x2C8;">luˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">xʷeˈs</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">luˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxʷes&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;ˈlu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈxʷes ˈlukar</p>
+  <p>khwes lukar</p>
+  <il>
+    <w>
+      <o>ˈxʷes</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈlu</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="j o&#x2D0; &#x2C8; n">joːˈn</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x261; i &#x2C8; z">ɡiˈz</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="j o&#x2D0; &#x2C8; n">joːˈn</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x261; i &#x2C8; z">ɡiˈz</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">joːˈn</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">ɡiˈz</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjoːn&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;ˈɡiz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈjoːn ˈɡizuzɡʷan</p>
+  <p>yoon gizuzgwan</p>
+  <il>
+    <w>
+      <o>ˈjoːn</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈɡiz</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d a &#x2C8; n">daˈn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="s+t u n o &#x2C8; x&#x2B7;">stunoˈxʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d a &#x2C8; n">daˈn</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="s+t u n o &#x2C8; x&#x2B7;">stunoˈxʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">daˈn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">stunoˈxʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdan&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;stuˈnoxʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈdan stuˈnoxʷuzɡʷan</p>
+  <p>dan stunokhwuzgwan</p>
+  <il>
+    <w>
+      <o>ˈdan</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>stuˈnoxʷ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="m i &#x261; o &#x2C8; l">miɡoˈl</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="m i &#x261; o &#x2C8; l">miɡoˈl</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">miɡoˈl</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">ŋeˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈɡol&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋeŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miˈɡol ˈŋeŋ</p>
+  <p>migol ngeng</p>
+  <il>
+    <w>
+      <o>miˈɡol</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈŋeŋ</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

About to call getSlotValue for jaguar/noun/number/obligatory
Got sing
About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got ACC
About to call getSlotValue for kill/verb/ta/optional
Got PAST
About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for kill/verb/voice.negation/obligatory
Got active.POS
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="x u t&#x361;&#x283; i &#x2C8; r">xut͡ʃiˈr</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="l i &#x2C8;">liˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="x u t&#x361;&#x283; i &#x2C8; r">xut͡ʃiˈr</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="l i &#x2C8;">liˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM">xut͡ʃiˈr</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">liˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xuˈt͡ʃir&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;-u&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;-zɡʷan&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;ɲuˈʃtoːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;ˈli&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>xuˈt͡ʃiruzɡʷan ɲuˈʃtoːnunil ˈlijukar</p>
+  <p>khuchiruzgwan ñushtoonunil liyukar</p>
+  <il>
+    <w>
+      <o>xuˈt͡ʃir</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲuˈʃtoːn</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈli</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
  </s>
</example>

module 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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
  </s>
</example>

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

About to call getSlotValue for lion/noun/number/obligatory
Got sing
About to call getSlotValue for lion/noun/case/obligatory
Got NOM
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/case/obligatory
Got GEN
About to call getSlotValue for dog/noun/number/obligatory
Got sing
About to call getSlotValue for dog/noun/case/obligatory
Got ACC
About to call getSlotValue for eat/verb/ta/optional
Got PAST
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/voice.negation/obligatory
Got active.POS
<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" number="sing" def="def" role="subj" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </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">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ACC">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="k&#x361;x a k&#x2B7; a &#x2C8; h">k͡xakʷaˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p i &#x2C8; p">piˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="k i &#x2C8; &#x261;">kiˈɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="k&#x361;x a k&#x2B7; a &#x2C8; h">k͡xakʷaˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p i &#x2C8; p">piˈp</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="k i &#x2C8; &#x261;">kiˈɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM">k͡xakʷaˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">piˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC">kiˈɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xaˈkʷah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;ɲuˈʃtoːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;ˈpip&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;-u&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;-waŋ&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;ˈkiɡ&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;-u&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;-nil&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;ˈko&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xaˈkʷahuzɡʷan ɲuˈʃtoːnuwaŋ ˈpipuwaŋ ˈkiɡunil ˈkojukar</p>
+  <p>kkhaquahuzgwan ñushtoonuwang pipuwang kigunil koyukar</p>
+  <il>
+    <w>
+      <o>k͡xaˈkʷah</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲuˈʃtoːn</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈpip</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈkiɡ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈko</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="d&#x361;&#x292; o&#x2D0; &#x2C8; j">d͡ʒoːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="k&#x361;x&#x2B7; o &#x2C8; &#x283;+k&#x2B7;">k͡xʷoˈʃkʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="b u&#x2D0; k">buːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="d&#x361;&#x292; o&#x2D0; &#x2C8; j">d͡ʒoːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="k&#x361;x&#x2B7; o &#x2C8; &#x283;+k&#x2B7;">k͡xʷoˈʃkʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="w a &#x14B;">waŋ</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="b u&#x2D0; k">buːk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">xʷeˈs</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">d͡ʒoːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">k͡xʷoˈʃkʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN">waŋ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM">buːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxʷes&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;ˈd͡ʒoːj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;ˈk͡xʷoʃkʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-waŋ&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;buːk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈxʷes ˈd͡ʒoːjuwaŋ ˈk͡xʷoʃkʷuwaŋ buːkuzɡʷan</p>
+  <p>khwes jooyuwang kkhwoshquuwang buukuzgwan</p>
+  <il>
+    <w>
+      <o>ˈxʷes</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒoːj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈk͡xʷoʃkʷ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-waŋ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>buːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for sleep/verb/ta/optional
Got PRES
About to call getSlotValue for sleep/verb/mode/obligatory
Got indicative
About to call getSlotValue for sleep/verb/voice.negation/obligatory
Got active.POS
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" 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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="l a &#x2C8;">laˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="l a &#x2C8;">laˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">laˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhiːl&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;-u&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;-zɡʷan&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;ˈla&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;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈhiːluzɡʷan ˈlakar</p>
+  <p>hiiluzgwan lakar</p>
+  <il>
+    <w>
+      <o>ˈhiːl</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈla</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    </vp>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative
calling defaultval for voice/
defaultval: verb, voice
returning active

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for run/verb/ta/optional
Got PRES
About to call getSlotValue for run/verb/mode/obligatory
Got indicative
About to call getSlotValue for run/verb/voice.negation/obligatory
Got active.POS
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x14B;&#x2B7; e &#x2C8;">ŋʷeˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x14B;&#x2B7; e &#x2C8;">ŋʷeˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">ŋʷeˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhiːl&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;-u&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;-zɡʷan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋʷe&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;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈhiːluzɡʷan ˈŋʷekar</p>
+  <p>hiiluzgwan ngwekar</p>
+  <il>
+    <w>
+      <o>ˈhiːl</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈŋʷe</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="chase"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addaffixes:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="w a b a&#x2D0; &#x2C8;">wabaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="w a b a&#x2D0; &#x2C8;">wabaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">wabaːˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhiːl&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;-u&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;-zɡʷan&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;xʷiˈd͡ʒuɡʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;waˈbaː&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;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈhiːluzɡʷan xʷiˈd͡ʒuɡʷunil waˈbaːkar</p>
+  <p>hiiluzgwan khwijugwunil wabaakar</p>
+  <il>
+    <w>
+      <o>ˈhiːl</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xʷiˈd͡ʒuɡʷ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>waˈbaː</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhiːl&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;-u&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;-zɡʷan&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;xʷiˈd͡ʒuɡʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;ˈzbaː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈhiːluzɡʷan xʷiˈd͡ʒuɡʷunil ˈzbaːjukar</p>
+  <p>hiiluzgwan khwijugwunil zbaayukar</p>
+  <il>
+    <w>
+      <o>ˈhiːl</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xʷiˈd͡ʒuɡʷ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈzbaː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="x u t&#x361;&#x283; i &#x2C8; r">xut͡ʃiˈr</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="conj" gloss="and" ph="&#x283; e &#x2C8;">ʃeˈ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="h a n i &#x2C8; t&#x361;s">haniˈt͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="conj" gloss="and" ph="&#x283; e &#x2C8;">ʃeˈ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="k&#x361;x a k&#x2B7; a &#x2C8; h">k͡xakʷaˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="l i &#x2C8;">liˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x272; u &#x283;+t o&#x2D0; &#x2C8; n">ɲuʃtoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="x u t&#x361;&#x283; i &#x2C8; r">xut͡ʃiˈr</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="conj" gloss="and" ph="&#x283; e &#x2C8;">ʃeˈ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="h a n i &#x2C8; t&#x361;s">haniˈt͡s</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="conj" gloss="and" ph="&#x283; e &#x2C8;">ʃeˈ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="k&#x361;x a k&#x2B7; a &#x2C8; h">k͡xakʷaˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a">a</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="l i &#x2C8;">liˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">ɲuʃtoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">xut͡ʃiˈr</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="conj" gloss="and">ʃeˈ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">haniˈt͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="conj" gloss="and">ʃeˈ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">k͡xakʷaˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">liˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲuˈʃtoːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;xuˈt͡ʃir&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;-a&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;-nil&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;ˈʃe&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;haˈnit͡s&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;-a&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;-nil&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;ˈʃe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xaˈkʷah&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;-a&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;-nil&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;ˈli&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ɲuˈʃtoːnuzɡʷan xuˈt͡ʃiranil ˈʃe haˈnit͡sanil ˈʃe k͡xaˈkʷahanil ˈlijukar</p>
+  <p>ñushtoonuzgwan khuchiranil she hanitzanil she kkhaquahanil liyukar</p>
+  <il>
+    <w>
+      <o>ɲuˈʃtoːn</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xuˈt͡ʃir</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-a</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈʃe</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>haˈnit͡s</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-a</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈʃe</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>k͡xaˈkʷah</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-a</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈli</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/case/obligatory
Got ACC
About to call getSlotValue for pat/verb/ta/optional
Got PAST
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/voice.negation/obligatory
Got active.POS
<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+  <flat>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="h i&#x2D0; &#x2C8; l">hiːˈl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">hiːˈl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</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">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈhiːl&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;-u&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;-nil&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͡saˈɡʷo&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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>ˈhiːlunil t͡saˈɡʷojukar</p>
+  <p>hiilunil tzagwoyukar</p>
+  <il>
+    <w>
+      <o>ˈhiːl</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡saˈɡʷo</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" ph="x&#x2B7; i d&#x361;&#x292; u &#x2C8; &#x261;&#x2B7;">xʷid͡ʒuˈɡʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC">xʷid͡ʒuˈɡʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <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">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷiˈd͡ʒuɡʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-nil&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;ˈzbaː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡saˈɡʷo&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷiˈd͡ʒuɡʷunil ˈzbaːjukar ˈmem t͡saˈɡʷojukar ˈniŋ</p>
+  <p>khwijugwunil zbaayukar mem tzagwoyukar ning</p>
+  <il>
+    <w>
+      <o>xʷiˈd͡ʒuɡʷ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈzbaː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡saˈɡʷo</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for cheese/noun/case/obligatory
Got ACC
About to call getSlotValue for eat/verb/ta/optional
Got PAST
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/voice.negation/obligatory
Got active.POS
About to call getSlotValue for catch/verb/ta/optional
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice.negation/obligatory
Got active.POS
About to call getSlotValue for pat/verb/ta/optional
Got PAST
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/voice.negation/obligatory
Got active.POS
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np def="def" number="sing" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <np def="def" number="sing" role="obj" locus="number" case="ACC">
+  <flat>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" ph="j u s i &#x2C8; t&#x361;&#x283;">jusiˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" ph="j u s i &#x2C8; t&#x361;&#x283;">jusiˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC">jusiˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <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">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juˈsit͡ʃ&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;-u&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;-nil&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;ˈko&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzbaː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡saˈɡʷo&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>juˈsit͡ʃunil ˈkojukar ˈmem ˈzbaːjukar ˈniŋ ˈmem t͡saˈɡʷojukar ˈniŋ</p>
+  <p>yusichunil koyukar mem zbaayukar ning mem tzagwoyukar ning</p>
+  <il>
+    <w>
+      <o>juˈsit͡ʃ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈko</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈzbaː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡saˈɡʷo</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module nominalise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="x o&#x2D0; &#x2C8;">xoːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="x o&#x2D0; &#x2C8;">xoːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k o &#x2C8;">koˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="z+b a&#x2D0; &#x2C8;">zbaːˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC" ph="m e &#x2C8; m">meˈm</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x361;s a &#x261;&#x2B7; o &#x2C8;">t͡saɡʷoˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word gloss="then" posp="conj" ph="n i &#x2C8; &#x14B;">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">xoːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">koˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">zbaːˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ACC">meˈm</word>
+    <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">t͡saɡʷoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word gloss="then" posp="conj">niˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxoː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈko&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzbaː&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡saˈɡʷo&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈniŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmem ˈxoːjukar ˈmem ˈkojukar ˈniŋ ˈmem ˈzbaːjukar ˈniŋ ˈmem t͡saˈɡʷojukar ˈniŋ</p>
+  <p>mem khooyukar mem koyukar ning mem zbaayukar ning mem tzagwoyukar ning</p>
+  <il>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈxoː</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈko</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ˈzbaː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>ˈmem</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡saˈɡʷo</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈniŋ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="b i &#x2C8; d">biˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="h i &#x2C8;">hiˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="d i t&#x361;&#x283; e&#x2D0; l">dit͡ʃeːl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x361;s a t&#x361;s i &#x2C8;">t͡sat͡siˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="b i &#x2C8; d">biˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="k&#x2B7; i d&#x361;&#x292; i &#x2C8; d&#x361;z">kʷid͡ʒiˈd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="n i l">nil</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="h i &#x2C8;">hiˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="d i t&#x361;&#x283; e&#x2D0; l">dit͡ʃeːl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x361;s a t&#x361;s i &#x2C8;">t͡sat͡siˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">biˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT">xʷar</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC">kʷid͡ʒiˈd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">nil</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">hiˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">dit͡ʃeːl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT">xʷar</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">t͡sat͡siˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʑiːk͡xʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;ˈbid&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;-u&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;-xʷar&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;kʷiˈd͡ʒid͡z&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;-u&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;-nil&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;ˈhi&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;dit͡ʃeːl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&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;-xʷar&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͡saˈt͡si&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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͡ʑiːk͡xʷuzɡʷan ˈbiduxʷar kʷiˈd͡ʒid͡zunil ˈhijukar dit͡ʃeːluxʷar t͡saˈt͡sijukar</p>
+  <p>d͡ʑiikkhwuzgwan bidukhwar quijidzunil hiyukar dicheelukhwar tzatziyukar</p>
+  <il>
+    <w>
+      <o>ˈd͡ʑiːk͡xʷ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈbid</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-xʷar</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>kʷiˈd͡ʒid͡z</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-nil</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈhi</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>dit͡ʃeːl</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-xʷar</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>t͡saˈt͡si</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

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

addaffixes:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="b i &#x2C8; d">biˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u &#x2C8;">luˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="x o &#x2C8;">xoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="d&#x361;&#x291; i&#x2D0; &#x2C8; k&#x361;x&#x2B7;">d͡ʑiːˈk͡xʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="z+&#x261;&#x2B7; a n">zɡʷan</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="b i &#x2C8; d">biˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="x&#x2B7; a r">xʷar</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC" ph="&#x14B; e &#x2C8; &#x14B;">ŋeˈŋ</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; e &#x2C8; s">xʷeˈs</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u &#x2C8;">luˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph=""></thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="x o &#x2C8;">xoˈ</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="j u">ju</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS" attach="suffix" ph="a r">ar</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">d͡ʑiːˈk͡xʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">zɡʷan</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">biˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nouncase" function="suffix" gloss="DAT">xʷar</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC">ŋeˈŋ</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">xʷeˈs</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">luˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">xoˈ</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">ju</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">k</thingy>
+    <thingy type="verbvoice.negation" function="suffix" gloss="active.POS">ar</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʑiːk͡xʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-zɡʷan&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;ˈbid&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;-u&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;-xʷar&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;ˈŋeŋ&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;ˈxʷes&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;ˈlu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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;ˈxo&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;-ju&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ar&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͡ʑiːk͡xʷuzɡʷan ˈbiduxʷar ˈŋeŋ ˈxʷes ˈlukar ˈxojukar</p>
+  <p>d͡ʑiikkhwuzgwan bidukhwar ngeng khwes lukar khoyukar</p>
+  <il>
+    <w>
+      <o>ˈd͡ʑiːk͡xʷ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-zɡʷan</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈbid</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-xʷar</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ˈŋeŋ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ˈxʷes</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈlu</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+    <w>
+      <o>ˈxo</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-ju</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>active.POS</g>
+    </w>
+  </il>
</example>