initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for knife/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for mouse/noun/number.case/obligatory
Got plur.ACC
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
        </np>
      </pp>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="k au &#x2C8; &#x14B;">kauˈŋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t &#x251; t&#x361;&#x283; au &#x2C8; &#x3B8;">tɑt͡ʃauˈθ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="m e &#x2C8; t">meˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="d&#x361;&#x292; &#x251; &#x2C8; l">d͡ʒɑˈl</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="z+d ai &#x2C8; s">zdaiˈs</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x283; au &#x2C8; &#xF0;">ʃauˈð</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="k au &#x2C8; &#x14B;">kauˈŋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t &#x251; t&#x361;&#x283; au &#x2C8; &#x3B8;">tɑt͡ʃauˈθ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="m e &#x2C8; t">meˈt</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="d&#x361;&#x292; &#x251; &#x2C8; l">d͡ʒɑˈl</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="z+d ai &#x2C8; s">zdaiˈs</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x283; au &#x2C8; &#xF0;">ʃauˈð</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM">kauˈŋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">tɑt͡ʃauˈθ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">meˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">d͡ʒɑˈl</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">zdaiˈs</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">ʃauˈð</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">iɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkauŋ&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑˈt͡ʃauθ&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;ˈmet&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈhɑd&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;ʃɑʃ&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;ˈd͡ʒɑl&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;ˈzdais&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;ˈʃauð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃiˈdɛp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkauŋæd tɑˈt͡ʃauθ ˈmetæd ðɑð ˈhɑd ʃɑʃ ˈd͡ʒɑl ˈzdais ˈʃauð ʃiˈdɛpiɡ</p>
+  <p>kaungäd tachauth metäd ðað had shash jal zdais shauð shidæpig</p>
+  <il>
+    <w>
+      <o>ˈkauŋ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>tɑˈt͡ʃauθ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈmet</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈhɑd</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒɑl</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>ˈzdais</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈʃauð</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iɡ</o>
+      <g>plur.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">θauˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES">huz</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">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">θauˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθaus&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;huz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈtih&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;ʃɑʃ&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;ˈθaus&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈθaus huz ˈtih ʃɑʃ ˈθaus</p>
+  <p>thaus huz tih shash thaus</p>
+  <il>
+    <w>
+      <o>ˈθaus</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>huz</o>
+      <g>POS.active.PRES</g>
+    </w>
+    <w>
+      <o>ˈtih</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈθaus</o>
+      <g>3.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Spipus hates Fafap.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="Spipus" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s+p i p u &#x2C8; s">spipuˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="s i d &#x25B; &#x2C8; v">sidɛˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="Fafap" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="f &#x251; f &#x251; &#x2C8; p">fɑfɑˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Spipus hates Fafap.">
  <flat>
-    <word posp="noun" gloss="Spipus" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="s+p i p u &#x2C8; s">spipuˈs</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="s i d &#x25B; &#x2C8; v">sidɛˈv</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="Fafap" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="f &#x251; f &#x251; &#x2C8; p">fɑfɑˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="Spipus" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes">spipuˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES">huz</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">sidɛˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="Fafap" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes">fɑfɑˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;spiˈpus&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Spipus&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;huz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;siˈdɛv&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;ʃɑʃ&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;fɑˈfɑp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Fafap&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>spiˈpusæd huz siˈdɛv ʃɑʃ fɑˈfɑpuv</p>
+  <p>Spipusäd huz sidæv shash Fafapuv</p>
+  <il>
+    <w>
+      <o>spiˈpus</o>
+      <g>Spipus</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>huz</o>
+      <g>POS.active.PRES</g>
+    </w>
+    <w>
+      <o>siˈdɛv</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>fɑˈfɑp</o>
+      <g>Fafap</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="f ai &#x2C8; f">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="f ai &#x2C8; f">faiˈf</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfaif&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pæˈnaul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈfaifɑt pæˈnaulæd</p>
+  <p>faifat pänauläd</p>
+  <il>
+    <w>
+      <o>ˈfaif</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>pæˈnaul</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">θauˈs</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθaus&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;pæˈnaul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈθaus pæˈnaulæd</p>
+  <p>thaus pänauläd</p>
+  <il>
+    <w>
+      <o>ˈθaus</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>pæˈnaul</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="m ai &#x2C8; s">maiˈs</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="m ai &#x2C8; s">maiˈs</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">maiˈs</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;pæˈnaul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais pæˈnaulæd</p>
+  <p>mais pänauläd</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>pæˈnaul</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    </np>
    <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.voice.ta" function="proclitic" gloss="POS.active.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>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.GEN
About to call getSlotValue for daughter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for neighbour/noun/number.case/obligatory
Got sing.GEN
About to call getSlotValue for son/noun/number.case/obligatory
Got sing.ACC
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="j u &#x2C8; p">juˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n i d&#x361;&#x292; &#x25B; &#x2C8; t">nid͡ʒɛˈt</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x3B8; i m &#x25B; &#x2C8; t">θimɛˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="t&#x361;&#x283; &#xE6; &#x2C8; l">t͡ʃæˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="j u &#x2C8; p">juˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n i d&#x361;&#x292; &#x25B; &#x2C8; t">nid͡ʒɛˈt</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x3B8; i m &#x25B; &#x2C8; t">θimɛˈt</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="t&#x361;&#x283; &#xE6; &#x2C8; l">t͡ʃæˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM">juˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">nid͡ʒɛˈt</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">ðɛˈt</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">θimɛˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC">t͡ʃæˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næˈɡɔij&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjup&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;niˈd͡ʒɛt&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;ʃɑʃ&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;ˈðɛ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;θiˈmɛt&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃæl&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>næˈɡɔijɑt ˈjupæd ðɑð niˈd͡ʒɛt ʃɑʃ ˈðɛt θiˈmɛtɑt ˈt͡ʃæluv</p>
+  <p>nägoiyat yupäd ðað nijæt shash ðæt thimætat chäluv</p>
+  <il>
+    <w>
+      <o>næˈɡɔij</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ˈjup</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>niˈd͡ʒɛt</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈðɛt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>θiˈmɛt</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃæl</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="s u &#x2C8; n">suˈn</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x14B; &#xE6; &#x14B; &#x25B; &#x2C8; &#x292;+b">ŋæŋɛˈʒb</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="s u &#x2C8; n">suˈn</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="&#x14B; &#xE6; &#x14B; &#x25B; &#x2C8; &#x292;+b">ŋæŋɛˈʒb</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM">suˈn</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM">ŋæŋɛˈʒb</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋæˈŋɛʒb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈsun ŋæˈŋɛʒbæd</p>
+  <p>sun ngängæzhbäd</p>
+  <il>
+    <w>
+      <o>ˈsun</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>ŋæˈŋɛʒb</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

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

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
      <word posp="verb" gloss="want"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np role="obj" case="ACC" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
+          <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
          <word posp="verb" gloss="have"/>
+          <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
          <word gloss="a" posp="det"/>
          <word posp="adj" gloss="little"/>
          <word posp="noun" gloss="lamb"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for lamb/noun/number.case/obligatory
Got sing.ACC
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
      <word posp="verb" gloss="want" 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>
    <np role="obj" case="ACC" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
          <word posp="verb" gloss="have" 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>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
    <word posp="verb" gloss="want" 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>
-    <np role="obj" case="ACC" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
    <word posp="verb" gloss="have" 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>
-        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="want" 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"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="have" 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"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x292;+b o &#x2C8; f">ʒboˈf</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x14B; &#x25B; &#x2C8; r">ŋɛˈr</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="s u &#x2C8; n">suˈn</word>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="x i &#x2C8; n">xiˈn</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x14B; &#xE6; &#x14B; &#x25B; &#x2C8; &#x292;+b">ŋæŋɛˈʒb</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; au &#x2C8; s">θauˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x292;+b o &#x2C8; f">ʒboˈf</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x14B; &#x25B; &#x2C8; r">ŋɛˈr</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="s u &#x2C8; n">suˈn</word>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="x i &#x2C8; n">xiˈn</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x14B; &#xE6; &#x14B; &#x25B; &#x2C8; &#x292;+b">ŋæŋɛˈʒb</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">θauˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ʒboˈf</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">ŋɛˈr</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC">suˈn</word>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC">xiˈn</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC">ŋæŋɛˈʒb</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" number="sing">wiŋaiˈθ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθaus&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈʒbof&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃɑʃ&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈŋɛr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃɑʃ&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;ˈsun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋæˈŋɛʒb&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wiˈŋaiθ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈθaus ðɑð ˈʒbof ʃɑʃ ðɑð ˈŋɛr ʃɑʃ ˈsun ˈxin ŋæˈŋɛʒbuv wiˈŋaiθ</p>
+  <p>thaus ðað zhbóf shash ðað ngær shash sun khin ngängæzhbuv wingaith</p>
+  <il>
+    <w>
+      <o>ˈθaus</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈʒbof</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈŋɛr</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈsun</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>ˈxin</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ŋæˈŋɛʒb</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>wiˈŋaiθ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <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.voice.ta" function="proclitic" gloss="POS.active.PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES">huz</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">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">ðɛˈt</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;huz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈtih&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;ʃɑʃ&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;ˈðɛt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais huz ˈtih ʃɑʃ ˈðɛt</p>
+  <p>mais huz tih shash ðæt</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>huz</o>
+      <g>POS.active.PRES</g>
+    </w>
+    <w>
+      <o>ˈtih</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈðɛt</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="k ai &#x2C8; n">kaiˈn</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="s i &#x2C8; v">siˈv</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="k ai &#x2C8; n">kaiˈn</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="s i &#x2C8; v">siˈv</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">kaiˈn</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">siˈv</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkain&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsiv&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkain ˈsivæd</p>
+  <p>kain siväd</p>
+  <il>
+    <w>
+      <o>ˈkain</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈsiv</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="s+k &#x25B; &#x2C8; &#x14B;">skɛˈŋ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x14B; i &#xF0; i &#x2C8; l">ŋiðiˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="s+k &#x25B; &#x2C8; &#x14B;">skɛˈŋ</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x14B; i &#xF0; i &#x2C8; l">ŋiðiˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">skɛˈŋ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">ŋiðiˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈskɛŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋiˈðil&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈskɛŋ ŋiˈðilæd</p>
+  <p>skæng ngiðiläd</p>
+  <il>
+    <w>
+      <o>ˈskɛŋ</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>ŋiˈðil</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t &#x251; t&#x361;&#x283; au &#x2C8; &#x3B8;">tɑt͡ʃauˈθ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="m ai &#x2C8; s">maiˈs</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t &#x251; t&#x361;&#x283; au &#x2C8; &#x3B8;">tɑt͡ʃauˈθ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="m ai &#x2C8; s">maiˈs</word>
+    <word gloss="COMIT" posp="pp" role="comitative">tɑt͡ʃauˈθ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">maiˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑˈt͡ʃauθ&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;ˈmais&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tɑˈt͡ʃauθ ˈmais</p>
+  <p>tachauth mais</p>
+  <il>
+    <w>
+      <o>tɑˈt͡ʃauθ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ACC">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x292;+&#x261; i v i &#x2C8; d">ʒɡiviˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="z e &#x2C8; n">zeˈn</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x292;+&#x261; i v i &#x2C8; d">ʒɡiviˈd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="z e &#x2C8; n">zeˈn</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM">ʒɡiviˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">zeˈn</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒɡiˈvid&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈzen&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;ʃɑʃ&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;næˈɡɔij&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒɡiˈvidæd ðɑð ˈzen ʃɑʃ næˈɡɔijuv</p>
+  <p>zhgividäd ðað zen shash nägoiyuv</p>
+  <il>
+    <w>
+      <o>ʒɡiˈvid</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈzen</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>næˈɡɔij</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    </np>
    <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.voice.ta" function="proclitic" gloss="POS.active.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>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for lion/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.GEN
About to call getSlotValue for daughter/noun/number.case/obligatory
Got sing.GEN
About to call getSlotValue for dog/noun/number.case/obligatory
Got sing.ACC
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ACC">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="b i n i &#x2C8; &#x283;">biniˈʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n u &#x2C8; v">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="j u &#x2C8; p">juˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="t &#xE6; &#x2C8; m">tæˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="b i n i &#x2C8; &#x283;">biniˈʃ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n u &#x2C8; v">nuˈv</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="j u &#x2C8; p">juˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="t &#xE6; &#x2C8; m">tæˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM">biniˈʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">juˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC">tæˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biˈniʃ&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈnuv&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;ʃɑʃ&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;næˈɡɔij&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjup&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtæm&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>biˈniʃæd ðɑð ˈnuv ʃɑʃ næˈɡɔijɑt ˈjupɑt ˈtæmuv</p>
+  <p>binishäd ðað nuv shash nägoiyat yupat tämuv</p>
+  <il>
+    <w>
+      <o>biˈniʃ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈnuv</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>næˈɡɔij</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ˈjup</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ˈtæm</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283; &#xE6; &#x2C8; l">t͡ʃæˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="z+b &#x251; &#x2C8; d">zbɑˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i b &#x25B; r">libɛr</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283; &#xE6; &#x2C8; l">t͡ʃæˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="z+b &#x251; &#x2C8; d">zbɑˈd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="&#x251; t">ɑt</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="l i b &#x25B; r">libɛr</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">ðɛˈt</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">t͡ʃæˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">zbɑˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">ɑt</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM">libɛr</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈðɛ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͡ʃæl&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzbɑd&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;-ɑt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;libɛr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈðɛt ˈt͡ʃælɑt ˈzbɑdɑt libɛræd</p>
+  <p>ðæt chälat zbadat libæräd</p>
+  <il>
+    <w>
+      <o>ˈðɛt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃæl</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ˈzbɑd</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ɑt</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>libɛr</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
+      <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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" case="NOM">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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.case/obligatory
Got sing.NOM
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="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" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="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" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="n &#xE6; &#x2C8; &#x14B;">næˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="n &#xE6; &#x2C8; &#x14B;">næˈŋ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES">huz</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">næˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;huz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈnæŋ&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;ʃɑʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈŋelæd huz ˈnæŋ ʃɑʃ</p>
+  <p>ngeläd huz näng shash</p>
+  <il>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>huz</o>
+      <g>POS.active.PRES</g>
+    </w>
+    <w>
+      <o>ˈnæŋ</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="s i &#x2C8; &#x283;">siˈʃ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="s i &#x2C8; &#x283;">siˈʃ</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">siˈʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈsiʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈŋelæd ˈsiʃ</p>
+  <p>ngeläd sish</p>
+  <il>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈsiʃ</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="b i j &#x254; &#x2C8; &#x3B8;">bijɔˈθ</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="b i j &#x254; &#x2C8; &#x3B8;">bijɔˈθ</word>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">bijɔˈθ</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;biˈjɔθ&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;ʃiˈdɛp&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈŋelæd biˈjɔθ ʃiˈdɛpuv</p>
+  <p>ngeläd biyoth shidæpuv</p>
+  <il>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>biˈjɔθ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for mouse/noun/number.case/obligatory
Got sing.ACC
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈhɑd&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;ʃɑʃ&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;ʃiˈdɛp&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈŋelæd ðɑð ˈhɑd ʃɑʃ ʃiˈdɛpuv</p>
+  <p>ngeläd ðað had shash shidæpuv</p>
+  <il>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈhɑd</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for jaguar/noun/number.case/obligatory
Got plur.ACC
About to call getSlotValue for tiger/noun/number.case/obligatory
Got plur.ACC
About to call getSlotValue for lion/noun/number.case/obligatory
Got plur.ACC
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="z e &#x2C8; n">zeˈn</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x292;+&#x261; i v i &#x2C8; d">ʒɡiviˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
+    <word posp="conj" gloss="and" ph="m e &#x2C8; &#x292;">meˈʒ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="s &#xE6; &#x261; &#x254;i &#x2C8; j">sæɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
+    <word posp="conj" gloss="and" ph="m e &#x2C8; &#x292;">meˈʒ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="b i n i &#x2C8; &#x283;">biniˈʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="n &#xE6; &#x261; &#x254;i &#x2C8; j">næɡɔiˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="z e &#x2C8; n">zeˈn</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x292;+&#x261; i v i &#x2C8; d">ʒɡiviˈd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
-    <word posp="conj" gloss="and" ph="m e &#x2C8; &#x292;">meˈʒ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="s &#xE6; &#x261; &#x254;i &#x2C8; j">sæɡɔiˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
-    <word posp="conj" gloss="and" ph="m e &#x2C8; &#x292;">meˈʒ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="b i n i &#x2C8; &#x283;">biniˈʃ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i &#x261;">iɡ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">næɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">zeˈn</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">ʒɡiviˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">iɡ</thingy>
+    <word posp="conj" gloss="and">meˈʒ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">sæɡɔiˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">iɡ</thingy>
+    <word posp="conj" gloss="and">meˈʒ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">biniˈʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">iɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næˈɡɔij&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈzen&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;ʃɑʃ&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;ʒɡiˈvid&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmeʒ&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;sæˈɡɔij&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tiger&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmeʒ&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;biˈniʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>næˈɡɔijæd ðɑð ˈzen ʃɑʃ ʒɡiˈvidiɡ ˈmeʒ sæˈɡɔijiɡ ˈmeʒ biˈniʃiɡ</p>
+  <p>nägoiyäd ðað zen shash zhgividig mezh sägoiyig mezh binishig</p>
+  <il>
+    <w>
+      <o>næˈɡɔij</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈzen</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ʒɡiˈvid</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-iɡ</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈmeʒ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>sæˈɡɔij</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-iɡ</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈmeʒ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>biˈniʃ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-iɡ</o>
+      <g>plur.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" 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="subj" locus="number" case="NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.ACC
<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ŋiˈloɡ&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;ʃɑʃ&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;ˈŋel&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais ðɑð ŋiˈloɡ ʃɑʃ ˈŋeluv</p>
+  <p>mais ðað ngilóg shash ngeluv</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ŋiˈloɡ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for mouse/noun/number.case/obligatory
Got sing.ACC
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
+        <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </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.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="h &#x251; &#x2C8; d">hɑˈd</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ŋiˈloɡ&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;ʃɑʃ&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;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈhɑd&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;ʃɑʃ&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;ʃiˈdɛp&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais ðɑð ŋiˈloɡ ʃɑʃ ˈŋelæd, ˈθel ðɑð ˈhɑd ʃɑʃ ʃiˈdɛpuv</p>
+  <p>mais ðað ngilóg shash ngeläd, thel ðað had shash shidæpuv</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ŋiˈloɡ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈhɑd</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="h &#x251; &#x2C8; d">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n u &#x2C8; v">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="b &#x251; d&#x361;&#x292; &#xE6; &#x2C8; d">bɑd͡ʒæˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</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 person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="h &#x251; &#x2C8; d">hɑˈd</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="n u &#x2C8; v">nuˈv</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="b &#x251; d&#x361;&#x292; &#xE6; &#x2C8; d">bɑd͡ʒæˈd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after">bɑd͡ʒæˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ŋiˈloɡ&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;ʃɑʃ&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;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈhɑd&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;ʃɑʃ&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;ʃiˈdɛp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈnuv&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;ʃɑʃ&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;bɑˈd͡ʒæd&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais ðɑð ŋiˈloɡ ʃɑʃ ˈŋelæd, ˈθel ðɑð ˈhɑd ʃɑʃ ʃiˈdɛpæd, ˈθel ðɑð ˈnuv ʃɑʃ bɑˈd͡ʒæduv</p>
+  <p>mais ðað ngilóg shash ngeläd, thel ðað had shash shidæpäd, thel ðað nuv shash bajäduv</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ŋiˈloɡ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈhɑd</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈnuv</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>bɑˈd͡ʒæd</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="h &#x251; &#x2C8; d">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="n u &#x2C8; v">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="b &#x251; d&#x361;&#x292; &#xE6; &#x2C8; d">bɑd͡ʒæˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="l &#x251; &#x2C8; &#x14B;">lɑˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="m ai &#x2C8; s">maiˈs</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x14B; i l o &#x2C8; &#x261;">ŋiloˈɡ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x14B; e &#x2C8; l">ŋeˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="h &#x251; &#x2C8; d">hɑˈd</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x283; i d &#x25B; &#x2C8; p">ʃidɛˈp</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="n u &#x2C8; v">nuˈv</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="b &#x251; d&#x361;&#x292; &#xE6; &#x2C8; d">bɑd͡ʒæˈd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="&#x3B8; e &#x2C8; l">θeˈl</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="l &#x251; &#x2C8; &#x14B;">lɑˈŋ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="m ai &#x2C8; s">maiˈs</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ŋiloˈɡ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">ŋeˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">hɑˈd</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">ʃidɛˈp</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">nuˈv</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp">bɑd͡ʒæˈd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">θeˈl</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">lɑˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after">maiˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ŋiˈloɡ&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;ʃɑʃ&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;ˈŋel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈhɑd&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;ʃɑʃ&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;ʃiˈdɛp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈnuv&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;ʃɑʃ&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;bɑˈd͡ʒæd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈθel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈlɑŋ&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;ʃɑʃ&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;ˈmais&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈmais ðɑð ŋiˈloɡ ʃɑʃ ˈŋelæd, ˈθel ðɑð ˈhɑd ʃɑʃ ʃiˈdɛpæd, ˈθel ðɑð ˈnuv ʃɑʃ bɑˈd͡ʒædæd, ˈθel ðɑð ˈlɑŋ ʃɑʃ ˈmais</p>
+  <p>mais ðað ngilóg shash ngeläd, thel ðað had shash shidæpäd, thel ðað nuv shash bajädäd, thel ðað lang shash mais</p>
+  <il>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ŋiˈloɡ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈŋel</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈhɑd</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ʃiˈdɛp</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈnuv</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>bɑˈd͡ʒæd</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈθel</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈlɑŋ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="f ai &#x2C8; f">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="s e &#x2C8; x">seˈx</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="t&#x361;&#x283; e &#x2C8; z+d">t͡ʃeˈzd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="s u &#x2C8; n">suˈn</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="v i t&#x361;&#x283; o &#x2C8; &#x14B;">vit͡ʃoˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x261; i t &#x25B; r">ɡitɛr</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="f ai &#x2C8; f">faiˈf</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="s e &#x2C8; x">seˈx</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="t&#x361;&#x283; e &#x2C8; z+d">t͡ʃeˈzd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="s u &#x2C8; n">suˈn</word>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="p &#xE6; n au &#x2C8; l">pænauˈl</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="u v">uv</thingy>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="v i t&#x361;&#x283; o &#x2C8; &#x14B;">vit͡ʃoˈŋ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="&#x261; i t &#x25B; r">ɡitɛr</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">seˈx</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">t͡ʃeˈzd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">id</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC">suˈn</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC">pænauˈl</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">uv</thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing">wiŋaiˈθ</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">vit͡ʃoˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">ɡitɛr</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">id</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfaif&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈsex&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;ʃɑʃ&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;ˈt͡ʃezd&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;-id&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pæˈnaul&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;-uv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wiˈŋaiθ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;viˈt͡ʃoŋ&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;ʃɑʃ&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;ɡitɛr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-id&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈfaifæd ðɑð ˈsex ʃɑʃ ˈt͡ʃezdid ˈsun pæˈnauluv wiˈŋaiθ ðɑð viˈt͡ʃoŋ ʃɑʃ ɡitɛrid</p>
+  <p>faifäd ðað sekh shash chezdid sun pänauluv wingaith ðað vichóng shash gitærid</p>
+  <il>
+    <w>
+      <o>ˈfaif</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈsex</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃezd</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-id</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>ˈsun</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>pæˈnaul</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-uv</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>wiˈŋaiθ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>viˈt͡ʃoŋ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ɡitɛr</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-id</o>
+      <g>sing.DAT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.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="vpmode.question" function="enclitic" gloss="indicative.not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="f ai &#x2C8; f">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="&#xF0; &#x25B; &#x2C8; &#x14B;">ðɛˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="t&#x361;&#x283; e &#x2C8; z+d">t͡ʃeˈzd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="f ai &#x2C8; f">faiˈf</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#xE6; d">æd</thingy>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST" ph="&#xF0; &#x251; &#xF0;">ðɑð</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="&#xF0; &#x25B; &#x2C8; &#x14B;">ðɛˈŋ</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="t&#x361;&#x283; e &#x2C8; z+d">t͡ʃeˈzd</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="i d">id</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="m ai &#x2C8; s">maiˈs</word>
-    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES" ph="h u z">huz</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="t i &#x2C8; h">tiˈh</word>
-    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q" ph="&#x283; &#x251; &#x283;">ʃɑʃ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="&#xF0; &#x25B; &#x2C8; t">ðɛˈt</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="w i &#x14B; ai &#x2C8; &#x3B8;">wiŋaiˈθ</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">faiˈf</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">æd</thingy>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PAST">ðɑð</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">ðɛˈŋ</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">t͡ʃeˈzd</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">id</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">maiˈs</word>
+    <thingy type="vpnegation.voice.ta" function="proclitic" gloss="POS.active.PRES">huz</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">tiˈh</word>
+    <thingy type="vpmode.question" function="enclitic" gloss="indicative.not.Q">ʃɑʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">ðɛˈt</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl">wiŋaiˈθ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfaif&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;-æd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ðɑð&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈðɛŋ&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;ʃɑʃ&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;ˈt͡ʃezd&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;-id&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmais&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;huz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.active.&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;ˈtih&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;ʃɑʃ&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;ˈðɛ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;wiˈŋaiθ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈfaifæd ðɑð ˈðɛŋ ʃɑʃ ˈt͡ʃezdid ˈmais huz ˈtih ʃɑʃ ˈðɛt wiˈŋaiθ</p>
+  <p>faifäd ðað ðæng shash chezdid mais huz tih shash ðæt wingaith</p>
+  <il>
+    <w>
+      <o>ˈfaif</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-æd</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ðɑð</o>
+      <g>POS.active.PAST</g>
+    </w>
+    <w>
+      <o>ˈðɛŋ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃezd</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-id</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>ˈmais</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>huz</o>
+      <g>POS.active.PRES</g>
+    </w>
+    <w>
+      <o>ˈtih</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃɑʃ</o>
+      <g>indicative.not.Q</g>
+    </w>
+    <w>
+      <o>ˈðɛt</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>wiˈŋaiθ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>