initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="adj" gloss="blind"/>
      <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.plur">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/number/optional
Got sing
About to call getSlotValue for woman/noun/case/optional
About to call getSlotValue for knife/noun/number/optional
Got sing
About to call getSlotValue for knife/noun/case/optional
About to call getSlotValue for yon/det/number/obligatory
Got plur
About to call getSlotValue for blind/adj/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/number/optional
Got plur
About to call getSlotValue for mouse/noun/case/optional
About to call getSlotValue for catch/verb/voice/obligatory
Got active
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <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"/>
        </np>
        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
+      <thingy type="detnumber" function="prefix" gloss="plur"/>
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
+      <thingy type="adjcase" function="suffix" gloss="NOM"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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.plur"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      <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"/>
-        </np>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-      </pp>
-    </np>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
    <thingy type="detnumber" function="prefix" gloss="plur"/>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
    <thingy type="adjcase" function="suffix" gloss="NOM"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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.plur"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="detnumber" function="prefix" gloss="plur"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
-    <thingy type="adjcase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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.plur"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="t a &#x2C8; p">taˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="p e&#x2D0; &#x2C8; b">peːˈb</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a &#x14B; a&#x2D0; &#x2C8; &#x27E;">xaŋaːˈɾ</word>
+    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="m">m</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="e &#x2C8; k">eˈk</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="h i &#x2C8; p">hiˈp</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="n a &#x2C8; t">naˈt</word>
+    <thingy type="adjcase" function="suffix" gloss="NOM" attach="suffix" ph="u b">ub</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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.plur" ph="d a &#x2C8; b">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="t a &#x2C8; p">taˈp</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="p e&#x2D0; &#x2C8; b">peːˈb</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a &#x14B; a&#x2D0; &#x2C8; &#x27E;">xaŋaːˈɾ</word>
-    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="m">m</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="e &#x2C8; k">eˈk</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="h i &#x2C8; p">hiˈp</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="n a &#x2C8; t">naˈt</word>
-    <thingy type="adjcase" function="suffix" gloss="NOM" attach="suffix" ph="u b">ub</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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.plur" ph="d a &#x2C8; b">daˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number">taˈp</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">peːˈb</word>
+    <word gloss="COMIT" posp="pp" role="comitative">xaŋaːˈɾ</word>
+    <thingy type="detnumber" function="prefix" gloss="plur">m</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number">eˈk</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number">hiˈp</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number">naˈt</word>
+    <thingy type="adjcase" function="suffix" gloss="NOM">ub</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">iw</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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.plur">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtap&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;ˈpeːb&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;xaˈŋaːɾ&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;m-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈek&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;ˈhip&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;ˈnat&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;-ub&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;niˈbat͡ʃ&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;-iw&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈdab&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtap ˈpeːb xaˈŋaːɾ ˈmek ˈhip ˈnatub niˈbat͡ʃiw ŋah ˈdabuh sih</p>
+  <p>tap peeb khangaar mek hip natub nibachiw ngah dabuh sih</p>
+  <il>
+    <w>
+      <o>ˈtap</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ˈpeːb</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>xaˈŋaːɾ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>m-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ˈek</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>ˈhip</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈnat</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-ub</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iw</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈdab</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number">
+      <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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
      <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">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number">
-      <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:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/voice/obligatory
Got active
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <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">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkiːx&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bin ˈkiːxuh sih</p>
+  <p>bin kiikhuh sih</p>
+  <il>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈkiːx</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
      <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">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 3.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/voice/obligatory
Got active
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
+      <thingy type="pronnumber" function="prefix" gloss="sing"/>
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
+  <flat>
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" ph="n i &#x2C8; t">niˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" ph="n i &#x2C8; t">niˈt</word>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number">niˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <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">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnit&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkiːx&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnit bin ˈkiːxuh sih</p>
+  <p>nit bin kiikhuh sih</p>
+  <il>
+    <w>
+      <o>ˈnit</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈkiːx</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <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">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 3.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/voice/obligatory
Got active
<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <thingy type="pronnumber" function="prefix" gloss="sing"/>
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2her" translation="He loves *her*.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+  <flat>
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" ph="n i &#x2C8; t">niˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" ph="n i &#x2C8; t">niˈt</word>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <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="k i&#x2D0; &#x2C8; x">kiːˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number">niˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <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">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnit&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkiːx&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnit bin ˈkiːxuh sih</p>
+  <p>nit bin kiikhuh sih</p>
+  <il>
+    <w>
+      <o>ˈnit</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈkiːx</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
      <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">
+    <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:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Puchig hates Hidan.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="Puchig" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="p u t&#x361;&#x283; i &#x2C8; &#x261;">put͡ʃiˈɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="Hidan" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="h i d a &#x2C8; n">hidaˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</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="p u &#x261; e &#x2C8; x">puɡeˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Puchig hates Hidan.">
  <flat>
-    <word posp="noun" gloss="Puchig" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="p u t&#x361;&#x283; i &#x2C8; &#x261;">put͡ʃiˈɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="Hidan" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="h i d a &#x2C8; n">hidaˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</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="p u &#x261; e &#x2C8; x">puɡeˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="Puchig" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes">put͡ʃiˈɡ</word>
+    <word posp="noun" gloss="Hidan" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes">hidaˈn</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</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">puɡeˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈt͡ʃiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Puchig&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiˈdan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Hidan&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈɡex&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>puˈt͡ʃiɡ hiˈdan bin puˈɡexuh sih</p>
+  <p>Puchig Hidan bin pugekhuh sih</p>
+  <il>
+    <w>
+      <o>puˈt͡ʃiɡ</o>
+      <g>Puchig</g>
+    </w>
+    <w>
+      <o>hiˈdan</o>
+      <g>Hidan</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>puˈɡex</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owner">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-  </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner">ɾoːˈn</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">juwiːˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾoːn&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;juˈwiːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾoːn juˈwiːd</p>
+  <p>roon juwiid</p>
+  <il>
+    <w>
+      <o>ˈɾoːn</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>juˈwiːd</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" ph="n i &#x2C8; t">niˈt</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" ph="n i &#x2C8; t">niˈt</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner">niˈt</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">juwiːˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnit&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;juˈwiːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnit juˈwiːd</p>
+  <p>nit juwiid</p>
+  <il>
+    <w>
+      <o>ˈnit</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>juˈwiːd</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned">
+  <np type="owner_owned" number="sing">
    <np number="sing" def="neither" locus="number" role="owner">
      <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" number="sing">
    <np number="sing" def="neither" locus="number" role="owner">
-      <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" number="sing">
-    <np number="sing" def="neither" locus="number" role="owner">
+    <np number="sing" def="neither" locus="number" role="owner" 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" number="sing">
  <np number="sing" def="neither" locus="number" role="owner" 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>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner">ɾiˈn</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">juwiːˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾin&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;juˈwiːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾin juˈwiːd</p>
+  <p>rin juwiid</p>
+  <il>
+    <w>
+      <o>ˈɾin</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>juˈwiːd</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner">
          <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" 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" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          </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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/case/optional
About to call getSlotValue for daughter/noun/number/optional
Got sing
About to call getSlotValue for daughter/noun/case/optional
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for neighbour/noun/number/optional
Got sing
About to call getSlotValue for neighbour/noun/case/optional
About to call getSlotValue for son/noun/number/optional
Got sing
About to call getSlotValue for son/noun/case/optional
About to call getSlotValue for kiss/verb/voice/obligatory
Got active
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" person="2">
+      <thingy type="pronnumber" function="prefix" gloss="sing"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" person="2">
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="p a &#x2C8; p">paˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" ph="t&#x361;&#x283; i d i &#x2C8; &#x14B;">t͡ʃidiˈŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="b o&#x2D0; &#x2C8; h">boːˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="p i w e&#x2D0; &#x2C8; &#x261;">piweːˈɡ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="p a &#x2C8; p">paˈp</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" ph="t&#x361;&#x283; i d i &#x2C8; &#x14B;">t͡ʃidiˈŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="b o&#x2D0; &#x2C8; h">boːˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="p i w e&#x2D0; &#x2C8; &#x261;">piweːˈɡ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner">dit͡ʃaiˈk</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned">paˈp</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner">peːˈt</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned">t͡ʃidiˈŋ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned">boːˈh</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">piweːˈɡ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈt͡ʃaik&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;ˈpap&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;ˈpeːt&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;t͡ʃiˈdiŋ&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;ˈboːh&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;piˈweːɡ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈt͡ʃaik ˈpap ˈpeːt t͡ʃiˈdiŋ ˈboːh ŋah piˈweːɡuh sih</p>
+  <p>dichaik pap peet chiding booh ngah piweeguh sih</p>
+  <il>
+    <w>
+      <o>diˈt͡ʃaik</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈpap</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ˈpeːt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃiˈdiŋ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ˈboːh</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>piˈweːɡ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="&#x14B; a t&#x361;&#x283; a &#x2C8; n">ŋat͡ʃaˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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" ph="&#x14B; a t&#x361;&#x283; a &#x2C8; n">ŋat͡ʃaˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number">ŋat͡ʃaˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaˈt͡ʃan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋaˈt͡ʃan</p>
+  <p>ngachan</p>
+  <il>
+    <w>
+      <o>ŋaˈt͡ʃan</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

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

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number">
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number">
+  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-  </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"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <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" ph="&#x14B; a t&#x361;&#x283; a &#x2C8; n">ŋat͡ʃaˈn</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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" ph="&#x14B; a t&#x361;&#x283; a &#x2C8; n">ŋat͡ʃaˈn</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number">ŋat͡ʃaˈn</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">aj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaˈt͡ʃan&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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋaˈt͡ʃanaj</p>
+  <p>ngachanaj</p>
+  <il>
+    <w>
+      <o>ŋaˈt͡ʃan</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>little</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
-      <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">
-      <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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <np number="sing" def="neither" role="obj" locus="number">
+    <np number="sing" def="neither" role="obj" locus="number" 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" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
-    <np number="sing" def="neither" role="obj" locus="number" 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:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k i&#x2D0; &#x2C8; x">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k i&#x2D0; &#x2C8; x">kiːˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkiːx&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bin ˈkiːxuh sih</p>
+  <p>bin kiikhuh sih</p>
+  <il>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈkiːx</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/number/optional
Got sing
About to call getSlotValue for table/noun/case/optional
About to call getSlotValue for surface/noun/number/optional
Got sing
About to call getSlotValue for surface/noun/case/optional
<example id="adpos1" translation="on the table">
  <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"/>
    </np>
    <np def="def" number="sing">
      <word posp="noun" gloss="surface" def="def" number="sing"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="surface" def="def" number="sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="d o &#x2C8; b">doˈb</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" ph="&#x27E; i&#x2D0; &#x2C8; &#x14B;">ɾiːˈŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="m a &#x2C8;">maˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="d o &#x2C8; b">doˈb</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" ph="&#x27E; i&#x2D0; &#x2C8; &#x14B;">ɾiːˈŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="m a &#x2C8;">maˈ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">doˈb</word>
+    <word posp="noun" gloss="surface" def="def" number="sing">ɾiːˈŋ</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">maˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdob&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾiːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈma&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈdob ˈɾiːŋ ˈma</p>
+  <p>dob riing ma</p>
+  <il>
+    <w>
+      <o>ˈdob</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>ˈɾiːŋ</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>ˈma</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/number/optional
Got sing
About to call getSlotValue for box/noun/case/optional
About to call getSlotValue for inside/noun/number/optional
Got sing
About to call getSlotValue for inside/noun/case/optional
<example id="adpos2" translation="into the box">
  <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"/>
    </np>
    <np def="def" number="sing">
      <word posp="noun" gloss="inside" def="def" number="sing"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="inside" def="def" number="sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x27E; i t a &#x2C8; k">ɾitaˈk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" ph="&#x27E; au &#x2C8; x">ɾauˈx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="&#x261; e &#x2C8;">ɡeˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x27E; i t a &#x2C8; k">ɾitaˈk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" ph="&#x27E; au &#x2C8; x">ɾauˈx</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="&#x261; e &#x2C8;">ɡeˈ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">ɾitaˈk</word>
+    <word posp="noun" gloss="inside" def="def" number="sing">ɾauˈx</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">ɡeˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾiˈtak&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;ˈɾaux&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɾiˈtak ˈɾaux ˈɡe</p>
+  <p>ritak raukh ge</p>
+  <il>
+    <w>
+      <o>ɾiˈtak</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>ˈɾaux</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ˈɡe</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module 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">
    <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>
    <word gloss="COMIT" posp="pp"/>
  </pp>
</example>

copyuptophrase:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <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>
    <word gloss="COMIT" posp="pp"/>
  </pp>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <np 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>
-    <word gloss="COMIT" posp="pp"/>
+    <word gloss="COMIT" posp="pp" role="comitative"/>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a &#x14B; a&#x2D0; &#x2C8; &#x27E;">xaŋaːˈɾ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a &#x14B; a&#x2D0; &#x2C8; &#x27E;">xaŋaːˈɾ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">ɾiˈn</word>
+    <word gloss="COMIT" posp="pp" role="comitative">xaŋaːˈɾ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾin&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;xaˈŋaːɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾin xaˈŋaːɾ</p>
+  <p>rin khangaar</p>
+  <il>
+    <w>
+      <o>ˈɾin</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>xaˈŋaːɾ</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
      <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">
+    <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:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="obj" locus="number">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="h a m e &#x2C8; t">hameˈt</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="n e &#x2C8; b">neˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="h a m e &#x2C8; t">hameˈt</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="n e &#x2C8; b">neˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number">hameˈt</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number">dit͡ʃaiˈk</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">neˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;haˈmet&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;diˈt͡ʃaik&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈneb&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>haˈmet diˈt͡ʃaik ŋah ˈnebuh sih</p>
+  <p>hamet dichaik ngah nebuh sih</p>
+  <il>
+    <w>
+      <o>haˈmet</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>diˈt͡ʃaik</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈneb</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion"/>
    </np>
    <np role="obj" 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">
            <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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

About to call getSlotValue for lion/noun/number/optional
Got sing
About to call getSlotValue for lion/noun/case/optional
About to call getSlotValue for hunter/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/case/optional
About to call getSlotValue for daughter/noun/number/optional
Got sing
About to call getSlotValue for daughter/noun/case/optional
About to call getSlotValue for dog/noun/number/optional
Got sing
About to call getSlotValue for dog/noun/case/optional
About to call getSlotValue for eat/verb/voice/obligatory
Got active
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="t u t&#x361;&#x283; i&#x2D0; &#x2C8; h">tut͡ʃiːˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="p a &#x2C8; p">paˈp</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="&#x14B; a&#x2D0; &#x2C8; w">ŋaːˈw</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="t u t&#x361;&#x283; i&#x2D0; &#x2C8; h">tut͡ʃiːˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="p a &#x2C8; p">paˈp</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="&#x14B; a&#x2D0; &#x2C8; w">ŋaːˈw</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number">tut͡ʃiːˈh</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner">dit͡ʃaiˈk</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned">paˈp</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned">ŋaːˈw</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuˈt͡ʃiːh&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;diˈt͡ʃaik&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;ˈpap&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;ˈŋaːw&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈpot͡ʃ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tuˈt͡ʃiːh diˈt͡ʃaik ˈpap ˈŋaːw ŋah ˈpot͡ʃuh sih</p>
+  <p>tuchiih dichaik pap ngaaw ngah pochuh sih</p>
+  <il>
+    <w>
+      <o>tuˈt͡ʃiːh</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>diˈt͡ʃaik</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈpap</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ˈŋaːw</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈpot͡ʃ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" number="sing">
+    <np type="owner_owned" role="owner" number="sing">
+      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="neither" locus="number" role="owner">
          <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 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" 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">
-          <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">
          <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>

copyuptophrase:

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

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" 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" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing"/>
  </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>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="b o&#x2D0; &#x2C8; h">boːˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" ph="s ai &#x2C8; s">saiˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="b i &#x2C8; s">biˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="b o&#x2D0; &#x2C8; h">boːˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" ph="s ai &#x2C8; s">saiˈs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="b i &#x2C8; s">biˈs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner">peːˈt</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned">boːˈh</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned">saiˈs</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned">biˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpeːt&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;ˈboːh&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;ˈsais&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;ˈbis&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpeːt ˈboːh ˈsais ˈbis</p>
+  <p>peet booh sais bis</p>
+  <il>
+    <w>
+      <o>ˈpeːt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈboːh</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ˈsais</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>ˈbis</o>
+      <g>book</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <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" subj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/case/optional
About to call getSlotValue for sleep/verb/voice/obligatory
Got active
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</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="b i&#x2D0; &#x2C8; m">biːˈm</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</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="b i&#x2D0; &#x2C8; m">biːˈm</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">biːˈm</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbiːm&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡaːj bin ˈbiːmuh sih</p>
+  <p>gaaj bin biimuh sih</p>
+  <il>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈbiːm</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

<example id="intr_act" translation="The cat is running.">
  <s>
    <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" subj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-      <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 voice/
defaultval: verb, voice
returning active

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/case/optional
About to call getSlotValue for run/verb/voice/obligatory
Got active
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="t&#x361;&#x283; u &#x2C8; p">t͡ʃuˈp</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</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" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="t&#x361;&#x283; u &#x2C8; p">t͡ʃuˈp</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">t͡ʃuˈp</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃup&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡaːj bin ˈt͡ʃupuh</p>
+  <p>gaaj bin chupuh</p>
+  <il>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃup</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
      <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">
+    <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:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="chase"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/case/optional
About to call getSlotValue for mouse/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/case/optional
About to call getSlotValue for chase/verb/voice/obligatory
Got active
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="b u x i &#x2C8; &#x27E;">buxiˈɾ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</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" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="b u x i &#x2C8; &#x27E;">buxiˈɾ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡaːˈj</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">nibaˈt͡ʃ</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">buxiˈɾ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;niˈbat͡ʃ&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈxiɾ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡaːj niˈbat͡ʃ bin buˈxiɾuh</p>
+  <p>gaaj nibach bin bukhiruh</p>
+  <il>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>buˈxiɾ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
      <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">
+    <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:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <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" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/case/optional
About to call getSlotValue for mouse/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/case/optional
About to call getSlotValue for catch/verb/voice/obligatory
Got active
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="d a &#x2C8; b">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="d a &#x2C8; b">daˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡaːˈj</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">nibaˈt͡ʃ</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;niˈbat͡ʃ&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈdab&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡaːj niˈbat͡ʃ ŋah ˈdabuh sih</p>
+  <p>gaaj nibach ngah dabuh sih</p>
+  <il>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈdab</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/case/optional
About to call getSlotValue for jaguar/noun/number/optional
Got plur
About to call getSlotValue for jaguar/noun/case/optional
About to call getSlotValue for tiger/noun/number/optional
Got plur
About to call getSlotValue for tiger/noun/case/optional
About to call getSlotValue for lion/noun/number/optional
Got plur
About to call getSlotValue for lion/noun/case/optional
About to call getSlotValue for kill/verb/voice/obligatory
Got active
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="h a m e &#x2C8; t">hameˈt</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
+    <word posp="conj" gloss="and" ph="&#x14B; i&#x2D0; &#x2C8; &#x14B;">ŋiːˈŋ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="n i d i&#x2D0; &#x2C8; m">nidiːˈm</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
+    <word posp="conj" gloss="and" ph="&#x14B; i&#x2D0; &#x2C8; &#x14B;">ŋiːˈŋ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t u t&#x361;&#x283; i&#x2D0; &#x2C8; h">tut͡ʃiːˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="n e &#x2C8; b">neˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="d i t&#x361;&#x283; ai &#x2C8; k">dit͡ʃaiˈk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="h a m e &#x2C8; t">hameˈt</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
-    <word posp="conj" gloss="and" ph="&#x14B; i&#x2D0; &#x2C8; &#x14B;">ŋiːˈŋ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="n i d i&#x2D0; &#x2C8; m">nidiːˈm</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
-    <word posp="conj" gloss="and" ph="&#x14B; i&#x2D0; &#x2C8; &#x14B;">ŋiːˈŋ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t u t&#x361;&#x283; i&#x2D0; &#x2C8; h">tut͡ʃiːˈh</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="i w">iw</thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="n e &#x2C8; b">neˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number">dit͡ʃaiˈk</word>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme">hameˈt</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">iw</thingy>
+    <word posp="conj" gloss="and">ŋiːˈŋ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme">nidiːˈm</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">iw</thingy>
+    <word posp="conj" gloss="and">ŋiːˈŋ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme">tut͡ʃiːˈh</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">iw</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">neˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈt͡ʃaik&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;haˈmet&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;-iw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋiːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈdiːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tiger&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋiːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuˈt͡ʃiːh&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;-iw&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈneb&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈt͡ʃaik haˈmetiw ˈŋiːŋ niˈdiːmiw ˈŋiːŋ tuˈt͡ʃiːhiw ŋah ˈnebuh sih</p>
+  <p>dichaik hametiw ngiing nidiimiw ngiing tuchiihiw ngah nebuh sih</p>
+  <il>
+    <w>
+      <o>diˈt͡ʃaik</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>haˈmet</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-iw</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ˈŋiːŋ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>niˈdiːm</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-iw</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ˈŋiːŋ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>tuˈt͡ʃiːh</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-iw</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈneb</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module 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">
-      <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">
      <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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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">
+    <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" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </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" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

addclitics:

<example id="relp1" translation="I patted the cat.">
  <s>
    <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" subj="1excl.sing" obj="3.sing">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+  <flat>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;kaˈt͡ʃax&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡaːj ŋah kaˈt͡ʃaxuh sih</p>
+  <p>gaaj ngah kachakhuh sih</p>
+  <il>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>kaˈt͡ʃax</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

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

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <subs>
-      <np def="def" number="sing" role="obj" locus="number">
+  <flat>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-  </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="d a &#x2C8; b">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </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" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="d a &#x2C8; b">daˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">nibaˈt͡ʃ</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈbat͡ʃ&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈdab&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;kaˈt͡ʃax&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>niˈbat͡ʃ ŋah ˈdabuh sih ˈɡaːj ŋah kaˈt͡ʃaxuh sih</p>
+  <p>nibach ngah dabuh sih gaaj ngah kachakhuh sih</p>
+  <il>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈdab</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>kaˈt͡ʃax</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

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

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <subs>
-      <subs>
-        <np def="def" number="sing" role="obj" locus="number">
+  <flat>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-  </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="b u &#x261; o &#x2C8; n">buɡoˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="d a &#x2C8; b">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="b u &#x261; o &#x2C8; n">buɡoˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="d a &#x2C8; b">daˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number">buɡoˈn</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">nibaˈt͡ʃ</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈɡon&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈpot͡ʃ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈbat͡ʃ&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈdab&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;kaˈt͡ʃax&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>buˈɡon ŋah ˈpot͡ʃuh sih niˈbat͡ʃ ŋah ˈdabuh sih ˈɡaːj ŋah kaˈt͡ʃaxuh sih</p>
+  <p>bugon ngah pochuh sih nibach ngah dabuh sih gaaj ngah kachakhuh sih</p>
+  <il>
+    <w>
+      <o>buˈɡon</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈpot͡ʃ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈdab</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>kaˈt͡ʃax</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <subs>
-      <subs>
-        <np number="sing" def="neither" role="owned" locus="number" person="1excl">
+  <flat>
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number"/>
-        </np>
-        <np role="owner" number="sing">
-          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-            </vp>
-          </subs>
-        </np>
-        <np def="def" number="sing" role="obj" locus="number" person="1excl">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" person="1excl">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" person="1excl"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" person="1excl">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" person="1excl"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="x i &#x2C8; m">xiˈm</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl" ph="b u &#x261; o &#x2C8; n">buɡoˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" person="1excl" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="d a &#x2C8; b">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" person="1excl" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="1excl.sing" ph="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="x i &#x2C8; m">xiˈm</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl" ph="b u &#x261; o &#x2C8; n">buɡoˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="p o &#x2C8; t&#x361;&#x283;">poˈt͡ʃ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" person="1excl" ph="n i b a &#x2C8; t&#x361;&#x283;">nibaˈt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="d a &#x2C8; b">daˈb</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" person="1excl" ph="&#x261; a&#x2D0; &#x2C8; j">ɡaːˈj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="1excl.sing" ph="k a t&#x361;&#x283; a &#x2C8; x">kat͡ʃaˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number">ɾiˈn</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">xiˈm</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl">buɡoˈn</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">poˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" person="1excl">nibaˈt͡ʃ</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">daˈb</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" person="1excl">ɡaːˈj</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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="1excl.sing">kat͡ʃaˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾin&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈxim&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈɡon&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈpot͡ʃ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈbat͡ʃ&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈdab&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡaːj&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;kaˈt͡ʃax&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾin ŋah ˈximuh sih buˈɡon ŋah ˈpot͡ʃuh sih niˈbat͡ʃ ŋah ˈdabuh sih ˈɡaːj ŋah kaˈt͡ʃaxuh sih</p>
+  <p>rin ngah khimuh sih bugon ngah pochuh sih nibach ngah dabuh sih gaaj ngah kachakhuh sih</p>
+  <il>
+    <w>
+      <o>ˈɾin</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈxim</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>buˈɡon</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈpot͡ʃ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>niˈbat͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈdab</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɡaːj</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>kaˈt͡ʃax</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

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

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

About to call getSlotValue for boy/noun/number/optional
Got sing
About to call getSlotValue for boy/noun/case/optional
About to call getSlotValue for girl/noun/number/optional
Got sing
About to call getSlotValue for girl/noun/case/optional
About to call getSlotValue for apple/noun/number/optional
Got sing
About to call getSlotValue for apple/noun/case/optional
About to call getSlotValue for give/verb/voice/obligatory
Got active
About to call getSlotValue for teacher/noun/number/optional
Got sing
About to call getSlotValue for teacher/noun/case/optional
About to call getSlotValue for surprise/verb/voice/obligatory
Got active
<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">
      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="owner" number="sing">
      <subs>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
          <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
          <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="verbvoice" function="suffix" gloss="active"/>
          <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
        </vp>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="owner" number="sing">
-      <subs>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" role="obj" locus="number">
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-        </vp>
-      </subs>
-    </np>
-    <np number="sing" def="def" role="indobj" locus="number">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="s a &#x2C8; s">saˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="s i &#x2C8; t&#x361;&#x283;">siˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="x i &#x14B; e &#x2C8; m">xiŋeˈm</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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;&#x283; i d ai &#x2C8; &#x261;">t͡ʃidaiˈɡ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="s a &#x2C8; s">saˈs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="j u w i&#x2D0; &#x2C8; d">juwiːˈd</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="s i &#x2C8; t&#x361;&#x283;">siˈt͡ʃ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="x i &#x14B; e &#x2C8; m">xiŋeˈm</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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;&#x283; i d ai &#x2C8; &#x261;">t͡ʃidaiˈɡ</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number">ɾoːˈn</word>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number">saˈs</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number">juwiːˈd</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">siˈt͡ʃ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number">xiŋeˈm</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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͡ʃidaiˈɡ</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾoːn&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;ˈsas&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;juˈwiːd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈsit͡ʃ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xiˈŋem&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;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;t͡ʃiˈdaiɡ&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾoːn ˈsas juˈwiːd ŋah ˈsit͡ʃuh sih xiˈŋem ŋah t͡ʃiˈdaiɡuh sih</p>
+  <p>roon sas juwiid ngah sichuh sih khingem ngah chidaiguh sih</p>
+  <il>
+    <w>
+      <o>ˈɾoːn</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ˈsas</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>juˈwiːd</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈsit͡ʃ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>xiˈŋem</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃiˈdaiɡ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module propagatenumber:

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

module simplifynumber:

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">
      <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" 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">
          <subs>
            <np number="sing" def="neither" role="obj" locus="number">
-              <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">
      <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" number="sing">
+    <np role="obj" tr="rheme" 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">
+        <np role="owner" number="sing" person="2">
          <subs>
-            <np number="sing" def="neither" role="obj" locus="number">
+            <np number="sing" def="neither" role="obj" locus="number" 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:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" number="sing" person="1excl">
      <np type="owner_owned" number="sing">
        <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" person="2">
          <subs>
            <np number="sing" def="neither" role="obj" locus="number" 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">
+              <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
              <word posp="verb" gloss="love"/>
+              <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
            </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">
+      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
  </s>
</example>

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

addaffixes:

About to call getSlotValue for boy/noun/number/optional
Got sing
About to call getSlotValue for boy/noun/case/optional
About to call getSlotValue for girl/noun/number/optional
Got sing
About to call getSlotValue for girl/noun/case/optional
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/voice/obligatory
Got active
About to call getSlotValue for tell/verb/voice/obligatory
Got active
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="neither" role="owned" locus="number" person="1excl" tr="rheme">
+      <thingy type="pronnumber" function="prefix" gloss="sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme"/>
    </np>
    <np role="owner" number="sing" person="2">
      <subs>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
+          <thingy type="pronnumber" function="prefix" gloss="sing"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
          <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
          <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="verbvoice" function="suffix" gloss="active"/>
          <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
        </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">
      <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
      <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="verbvoice" function="suffix" gloss="active"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </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">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="neither" role="owned" locus="number" person="1excl" tr="rheme">
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme"/>
-    </np>
-    <np role="owner" number="sing" person="2">
-      <subs>
-        <np number="sing" def="neither" role="obj" locus="number" person="2">
    <thingy type="pronnumber" function="prefix" gloss="sing"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-        </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">
    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
    <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="verbvoice" function="suffix" gloss="active"/>
    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme"/>
-    <thingy type="pronnumber" function="prefix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST"/>
-    <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="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="s a &#x2C8; s">saˈs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
+    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="k i&#x2D0; &#x2C8; x">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="j u &#x2C8; n">juˈn</word>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</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" ph="&#x27E; o&#x2D0; &#x2C8; n">ɾoːˈn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="s a &#x2C8; s">saˈs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" ph="&#x27E; i &#x2C8; n">ɾiˈn</word>
-    <thingy type="pronnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p e&#x2D0; &#x2C8; t">peːˈt</word>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES" ph="b i n">bin</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="k i&#x2D0; &#x2C8; x">kiːˈx</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
-    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST" ph="&#x14B; a h">ŋah</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="j u &#x2C8; n">juˈn</word>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="u h">uh</thingy>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="s i h">sih</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number">ɾoːˈn</word>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number">saˈs</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme">ɾiˈn</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">peːˈt</word>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PRES">bin</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">kiːˈx</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
+    <thingy type="vpnegation.ta" function="proclitic" gloss="POS.PAST">ŋah</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">juˈn</word>
+    <thingy type="verbvoice" function="suffix" gloss="active">uh</thingy>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">sih</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾoːn&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;ˈsas&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;ˈɾin&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;ˈpeːt&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;bin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkiːx&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&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;ˈjun&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;-uh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾoːn ˈsas ˈɾin ˈpeːt bin ˈkiːxuh sih ŋah ˈjunuh sih</p>
+  <p>roon sas rin peet bin kiikhuh sih ngah junuh sih</p>
+  <il>
+    <w>
+      <o>ˈɾoːn</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ˈsas</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ˈɾin</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ˈpeːt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>bin</o>
+      <g>POS.PRES</g>
+    </w>
+    <w>
+      <o>ˈkiːx</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ŋah</o>
+      <g>POS.PAST</g>
+    </w>
+    <w>
+      <o>ˈjun</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-uh</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>sih</o>
+      <g>indicative.not.Q</g>
+    </w>
+  </il>
</example>