initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/number/obligatory
Got sing
About to call getSlotValue for knife/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for yon/det/gender/obligatory
Got cl.4
About to call getSlotValue for mouse/noun/number/obligatory
Got plur
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" gender="cl.5">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.6">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
          <thingy type="npcase" function="enclitic" gloss="LOC"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
+      <thingy type="detgender" function="suffix" gloss="cl.4"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
    </np>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number" case="LOC" gender="cl.6">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5" ph="d&#x2B7; a d">dʷad</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n i t a&#x2D0; &#x27E;">nitaːɾ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6" ph="p i&#x2D0; w">piːw</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4" ph="p a&#x2D0;">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="d&#x2B7; ai">dʷai</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="n e n">nen</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="x u&#x2D0;">xuː</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5" ph="d&#x2B7; a d">dʷad</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n i t a&#x2D0; &#x27E;">nitaːɾ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6" ph="p i&#x2D0; w">piːw</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4" ph="p a&#x2D0;">paː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="d&#x2B7; ai">dʷai</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="n e n">nen</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4" ph="x u&#x2D0;">xuː</word>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5">dʷad</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">nitaːɾ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.6">piːw</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC">jym</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">dʷai</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">dum</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">nen</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">am</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.4">xuː</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʷad&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nitaːɾ&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;piːw&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jym&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʷai&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;-dum&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nen&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;sanoj&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xuː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dʷadun nitaːɾ piːwun jym paːtʷykiɾ dʷaidum nen sanojam xuː</p>
+  <p>двадун нитаар пииўун јүм паатвүкир двайдум нен санојам хуу</p>
+  <il>
+    <w>
+      <o>dʷad</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>nitaːɾ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>piːw</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jym</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>paː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>dʷai</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-dum</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>nen</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>xuː</o>
+      <g>blind</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/voice/obligatory
Got active
About to call getSlotValue for love/verb/negation/obligatory
Got POS
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møː&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>møːmykiɾ</p>
+  <p>мөөмүкир</p>
+  <il>
+    <w>
+      <o>møː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="subj" locus="number" ph="j a&#x2D0;">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="subj" locus="number" ph="j a&#x2D0;">jaː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="subj" locus="number">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>jaːs møːmykiɾ</p>
+  <p>јаас мөөмүкир</p>
+  <il>
+    <w>
+      <o>jaː</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>møː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="obj" locus="number" ph="j a&#x2D0;">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="m &#xF8;&#x2D0;">møː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="obj" locus="number" ph="j a&#x2D0;">jaː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="rheme" role="obj" locus="number">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møː&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>møːmykiɾ jaːs</p>
+  <p>мөөмүкир јаас</p>
+  <il>
+    <w>
+      <o>møː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>jaː</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2">
      <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.cl.2" obj="3.sing.cl.2">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.2">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Khooyoosh hates Shooros.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.2"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="Khooyoosh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2" propernoun="yes" ph="x&#x2B7; y j y &#x283;">xʷyjyʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.2" ph="p i w e">piwe</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Shooros" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.2" propernoun="yes" ph="&#x283; y &#x27E; o&#x2D0; s">ʃyɾoːs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Khooyoosh hates Shooros.">
  <flat>
-    <word posp="noun" gloss="Khooyoosh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2" propernoun="yes" ph="x&#x2B7; y j y &#x283;">xʷyjyʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.2" ph="p i w e">piwe</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Shooros" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.2" propernoun="yes" ph="&#x283; y &#x27E; o&#x2D0; s">ʃyɾoːs</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="Khooyoosh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2" propernoun="yes">xʷyjyʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.2">piwe</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="Shooros" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.2" propernoun="yes">ʃyɾoːs</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷyjyʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Khooyoosh&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;piwe&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃyɾoːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Shooros&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷyjyʃun piwemykiɾ ʃyɾoːsun</p>
+  <p>Хвүјүшун пиўемүкир Шүроосун</p>
+  <il>
+    <w>
+      <o>xʷyjyʃ</o>
+      <g>Khooyoosh</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>piwe</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ʃyɾoːs</o>
+      <g>Shooros</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.5">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;masitʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷip&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>masitʷun tʷipun</p>
+  <p>маситвун твипун</p>
+  <il>
+    <w>
+      <o>masitʷ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>tʷip</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" ph="j a&#x2D0;">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" ph="j a&#x2D0;">jaː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner">jaː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;masitʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>masitʷun jaːs</p>
+  <p>маситвун јаас</p>
+  <il>
+    <w>
+      <o>masitʷ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jaː</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<example id="posso2" translation="my apple">
  <np type="owner_owned" gender="cl.2" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
      <word posp="noun" gloss="apple"/>
    </np>
-    <np number="sing" def="neither" locus="number" role="owner">
+    <np number="sing" def="neither" locus="number" role="owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.2" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
  </np>
-  </np>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="&#x28B; u">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="&#x28B; u">ʋu</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;masitʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋu&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>masitʷun ʋus</p>
+  <p>маситвун вус</p>
+  <il>
+    <w>
+      <o>masitʷ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋu</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for kiss/verb/ta/obligatory
Got PAST
About to call getSlotValue for kiss/verb/mode/obligatory
Got indicative
About to call getSlotValue for kiss/verb/voice/obligatory
Got active
About to call getSlotValue for kiss/verb/negation/obligatory
Got POS
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="t&#x2B7; &#xF8; x">tʷøx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="n&#x2B7; i w e">nʷiwe</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x27E;&#x2B7; au j">ɾʷauj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="k u s &#xF8; s&#x2B7;">kusøsʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="t&#x2B7; &#xF8; x">tʷøx</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="n&#x2B7; i w e">nʷiwe</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x27E;&#x2B7; au j">ɾʷauj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="k u s &#xF8; s&#x2B7;">kusøsʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5">tʷøx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">nʷiwe</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5">ɾʷauj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1">kusøsʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷøx&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waxʷaub&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nʷiwe&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷauj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kusøsʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʷøxun waxʷaubun nʷiwetʷykiɾ ɾʷaujun kusøsʷun kʷis</p>
+  <p>твөхун ўахваўбун нвиўетвүкир рваўјун кусөсвун квис</p>
+  <il>
+    <w>
+      <o>tʷøx</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>waxʷaub</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>nʷiwe</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ɾʷauj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kusøsʷ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʷi</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" gender="cl.4">
-    <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" gender="cl.4">
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="cl.4"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.4"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="cl.4" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.4" ph="k a n u x">kanux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="cl.4" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.4" ph="k a n u x">kanux</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="cl.4">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">dum</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.4">kanux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-dum&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kanux&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷidum kanuxun</p>
+  <p>квидум канухун</p>
+  <il>
+    <w>
+      <o>kʷi</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-dum</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>kanux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

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" gender="cl.5">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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.cl.5" obj="3.sing.cl.1">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" gender="cl.1" 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.cl.4">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1">
-      <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.cl.5" obj="3.sing.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
-          <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.cl.4"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for want/verb/ta/obligatory
Got PAST
About to call getSlotValue for want/verb/mode/obligatory
Got indicative
About to call getSlotValue for want/verb/voice/obligatory
Got active
About to call getSlotValue for want/verb/negation/obligatory
Got POS
About to call getSlotValue for have/verb/ta/obligatory
Got PAST
About to call getSlotValue for have/verb/mode/obligatory
Got indicative
About to call getSlotValue for have/verb/voice/obligatory
Got active
About to call getSlotValue for have/verb/negation/obligatory
Got POS
About to call getSlotValue for a/det/gender/obligatory
Got cl.4
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
+          <thingy type="verbta" function="suffix" gloss="PAST"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
+          <thingy type="detgender" function="suffix" gloss="cl.4"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1" ph="b a&#x2D0;">baː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="t&#x2B7; ai">tʷai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="k a n u x">kanux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="w a">wa</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1" ph="b a&#x2D0;">baː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="t&#x2B7; ai">tʷai</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="d u m">dum</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="k a n u x">kanux</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="w a">wa</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.1">baː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">tʷai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">dum</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">kanux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">wa</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;baː&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷai&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-dum&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kanux&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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>baːtʷykiɾ tʷaitʷykiɾ kʷidum kanuxun wa ɾʷiɾun</p>
+  <p>баатвүкир твайтвүкир квидум канухун ўа рвирун</p>
+  <il>
+    <w>
+      <o>baː</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>tʷai</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>kʷi</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-dum</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>kanux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wa</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
-      <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="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <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="m &#xF8;&#x2D0;">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="m &#xF8;&#x2D0;">møː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møː&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>møːmykiɾ</p>
+  <p>мөөмүкир</p>
+  <il>
+    <w>
+      <o>møː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp"/>
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.6">
      <word posp="noun" gloss="table"/>
+      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <word gloss="in_surface" posp="pp"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.6">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.6"/>
      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.6"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="&#x283; au s">ʃaus</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.6" ph="w y&#x2D0; x&#x2B7;">wyːxʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</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="&#x283; au s">ʃaus</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.6" ph="w y&#x2D0; x&#x2B7;">wyːxʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">ʃaus</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.6">wyːxʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC">jym</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;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wyːxʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jym&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʃaus wyːxʷun jym</p>
+  <p>шаўс ўүүхвун јүм</p>
+  <il>
+    <w>
+      <o>ʃaus</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>wyːxʷ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jym</o>
+      <g>LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp"/>
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.6">
      <word posp="noun" gloss="box"/>
+      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <word gloss="to_inside" posp="pp"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.6">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.6"/>
      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.6"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="x&#x2B7; &#xF8; s">xʷøs</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.6" ph="d a &#x283; u x">daʃux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</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="x&#x2B7; &#xF8; s">xʷøs</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.6" ph="d a &#x283; u x">daʃux</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">xʷøs</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.6">daʃux</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC">jym</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøs&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;daʃux&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jym&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷøs daʃuxun jym</p>
+  <p>хвөс дашухун јүм</p>
+  <il>
+    <w>
+      <o>xʷøs</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>daʃux</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jym</o>
+      <g>LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp"/>
    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <word gloss="COMIT" posp="pp"/>
+    <word gloss="COMIT" posp="pp" role="comitative"/>
    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC"/>
      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
  </pp>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n i t a&#x2D0; &#x27E;">nitaːɾ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" ph="&#x28B; u">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n i t a&#x2D0; &#x27E;">nitaːɾ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" ph="&#x28B; u">ʋu</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="j y m">jym</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">nitaːɾ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC">jym</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nitaːɾ&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;ʋu&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jym&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nitaːɾ ʋus jym</p>
+  <p>нитаар вус јүм</p>
+  <il>
+    <w>
+      <o>nitaːɾ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ʋu</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jym</o>
+      <g>LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.4" ph="t i &#x283; e s">tiʃes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.5" ph="k ai">kai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.4" ph="t i &#x283; e s">tiʃes</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.5" ph="k ai">kai</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.4">tiʃes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.5">kai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʃes&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kai&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waxʷaub&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tiʃesun kaitʷykiɾ waxʷaubun</p>
+  <p>тишесун кайтвүкир ўахваўбун</p>
+  <il>
+    <w>
+      <o>tiʃes</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kai</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>waxʷaub</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.4">
      <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.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing" gender="cl.4">
      <np type="owner_owned" gender="cl.4" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
          <word posp="noun" gloss="dog"/>
        </np>
        <np type="owner_owned" role="owner" gender="cl.5" number="sing">
          <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
            <word posp="noun" gloss="daughter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
            <word posp="noun" gloss="hunter"/>
          </np>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.4">
      <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.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" number="sing" gender="cl.4">
-      <np type="owner_owned" gender="cl.4" number="sing">
+    <np type="owner_owned" gender="cl.4" number="sing" role="obj">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
        <word posp="noun" gloss="dog"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.4">
      <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.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" gender="cl.4" number="sing" role="obj">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <word posp="noun" gloss="dog"/>
    </np>
-      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </np>
-      </np>
-    </np>
  </s>
</example>

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/number/obligatory
Got sing
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/voice/obligatory
Got active
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for dog/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.4">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </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" gender="cl.4">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" gender="cl.5">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.4" ph="w i &#x283; u d&#x2B7;">wiʃudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="s e">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="k&#x2B7; y t">kʷyt</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="t&#x2B7; &#xF8; x">tʷøx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.4" ph="w i &#x283; u d&#x2B7;">wiʃudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="s e">se</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="k&#x2B7; y t">kʷyt</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="t&#x2B7; &#xF8; x">tʷøx</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.4">wiʃudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4">kʷyt</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5">tʷøx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.5">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wiʃudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;se&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷyt&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷøx&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waxʷaub&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wiʃudʷun setʷykiɾ kʷytun tʷøxun waxʷaubun</p>
+  <p>ўишудвун сетвүкир квүтун твөхун ўахваўбун</p>
+  <il>
+    <w>
+      <o>wiʃudʷ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>se</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>kʷyt</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>tʷøx</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>waxʷaub</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.1"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="&#x283; i h o&#x2D0; h">ʃihoːh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="n o&#x2D0; x">noːx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x27E;&#x2B7; au j">ɾʷauj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="&#x283; i h o&#x2D0; h">ʃihoːh</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" ph="n o&#x2D0; x">noːx</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x27E;&#x2B7; au j">ɾʷauj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.1">ʃihoːh</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1">noːx</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5">ɾʷauj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃihoːh&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;noːx&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷauj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʃihoːhun noːxun ɾʷaujun kʷis</p>
+  <p>шигоогун ноохун рваўјун квис</p>
+  <il>
+    <w>
+      <o>ʃihoːh</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>noːx</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷauj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʷi</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for sleep/verb/ta/obligatory
Got PRES
About to call getSlotValue for sleep/verb/mode/obligatory
Got indicative
About to call getSlotValue for sleep/verb/voice/obligatory
Got active
About to call getSlotValue for sleep/verb/negation/obligatory
Got POS
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="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" gender="cl.4">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="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" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="s ai">sai</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="s ai">sai</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">sai</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sai&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hudʷun saimykiɾ</p>
+  <p>гудвун саймүкир</p>
+  <il>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>sai</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative
calling defaultval for voice/
defaultval: verb, voice
returning active

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="m &#xF8;">mø</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="m &#xF8;">mø</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">mø</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hudʷun mømykiɾ</p>
+  <p>гудвун мөмүкир</p>
+  <il>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mø</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for chase/verb/ta/obligatory
Got PRES
About to call getSlotValue for chase/verb/mode/obligatory
Got indicative
About to call getSlotValue for chase/verb/voice/obligatory
Got active
About to call getSlotValue for chase/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PRES"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="&#x27E; a &#x28B; y&#x2D0;">ɾaʋyː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="&#x27E; a &#x28B; y&#x2D0;">ɾaʋyː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">ɾaʋyː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾaʋyː&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanoj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hudʷun ɾaʋyːmykiɾ sanojun</p>
+  <p>гудвун равүүмүкир санојун</p>
+  <il>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾaʋyː</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="p a&#x2D0;">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="p a&#x2D0;">paː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanoj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hudʷun paːtʷykiɾ sanojun</p>
+  <p>гудвун паатвүкир санојун</p>
+  <il>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>paː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for kill/verb/ta/obligatory
Got PAST
About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for kill/verb/voice/obligatory
Got active
About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for jaguar/noun/number/obligatory
Got plur
About to call getSlotValue for tiger/noun/number/obligatory
Got plur
About to call getSlotValue for lion/noun/number/obligatory
Got plur
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </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" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4" ph="k ai">kai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="t i &#x283; e s">tiʃes</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
+    <word posp="conj" gloss="and" ph="&#x283; a n">ʃan</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="s&#x2B7; i s ai &#x27E;">sʷisaiɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
+    <word posp="conj" gloss="and" ph="&#x283; a n">ʃan</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="w i &#x283; u d&#x2B7;">wiʃudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="w a x&#x2B7; au b">waxʷaub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4" ph="k ai">kai</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="t i &#x283; e s">tiʃes</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
-    <word posp="conj" gloss="and" ph="&#x283; a n">ʃan</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="s&#x2B7; i s ai &#x27E;">sʷisaiɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
-    <word posp="conj" gloss="and" ph="&#x283; a n">ʃan</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme" ph="w i &#x283; u d&#x2B7;">wiʃudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">waxʷaub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.4">kai</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">tiʃes</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">am</thingy>
+    <word posp="conj" gloss="and">ʃan</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">sʷisaiɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">am</thingy>
+    <word posp="conj" gloss="and">ʃan</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" role="obj" tr="rheme">wiʃudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">am</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waxʷaub&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kai&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʃes&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃan&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ʷisaiɾ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃan&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;wiʃudʷ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt;</p>
+  <p>waxʷaubun kaitʷykiɾ tiʃesam ʃan sʷisaiɾam ʃan wiʃudʷam</p>
+  <p>ўахваўбун кайтвүкир тишесам шан свисайрам шан ўишудвам</p>
+  <il>
+    <w>
+      <o>waxʷaub</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kai</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>tiʃes</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ʃan</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>sʷisaiɾ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ʃan</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>wiʃudʷ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>plur</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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.cl.4"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</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.cl.4">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saxʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>saxʷøtʷykiɾ hudʷun</p>
+  <p>сахвөтвүкир гудвун</p>
+  <il>
+    <w>
+      <o>saxʷø</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
-      <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.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-          <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.cl.4" obj="3.sing.cl.4"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
      <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.cl.1"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+          <thingy type="verbta" function="suffix" gloss="PAST"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="p a&#x2D0;">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="p a&#x2D0;">paː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saxʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanoj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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>saxʷøtʷykiɾ hudʷun paːtʷykiɾ sanojun ɾʷiɾun</p>
+  <p>сахвөтвүкир гудвун паатвүкир санојун рвирун</p>
+  <il>
+    <w>
+      <o>saxʷø</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>paː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
-      <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.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
-          <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.cl.4" obj="3.sing.cl.1"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np role="obj" gender="cl.1" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
-              <word posp="noun" gloss="mouse"/>
+              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2">
-              <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.cl.4" obj="3.sing.cl.2"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.2">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
          </subs>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/voice/obligatory
Got active
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
      <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.cl.1"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
+          <thingy type="verbta" function="suffix" gloss="PAST"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np role="obj" gender="cl.1" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
+              <thingy type="nounnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2">
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2"/>
+              <thingy type="verbta" function="suffix" gloss="PAST"/>
+              <thingy type="verbmode" function="suffix" gloss="indicative"/>
+              <thingy type="verbvoice" function="suffix" gloss="active"/>
+              <thingy type="verbnegation" function="suffix" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.2">
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
+              <thingy type="nounnumber" function="suffix" gloss="sing"/>
            </np>
            <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np role="obj" gender="cl.1" number="sing">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" gender="cl.2">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1" ph="p a&#x2D0;">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2" ph="s e">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" ph="w a s&#x2B7; e s">wasʷes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1" ph="p a&#x2D0;">paː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2" ph="s e">se</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" ph="w a s&#x2B7; e s">wasʷes</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2">wasʷes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saxʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanoj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;se&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wasʷes&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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;ɾʷiɾun&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>saxʷøtʷykiɾ hudʷun paːtʷykiɾ sanojun setʷykiɾ wasʷesun ɾʷiɾun ɾʷiɾun</p>
+  <p>сахвөтвүкир гудвун паатвүкир санојун сетвүкир ўасвесун рвирун рвирун</p>
+  <il>
+    <w>
+      <o>saxʷø</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>paː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>se</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>wasʷes</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/voice/obligatory
Got active
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for buy/verb/ta/obligatory
Got PAST
About to call getSlotValue for buy/verb/mode/obligatory
Got indicative
About to call getSlotValue for buy/verb/voice/obligatory
Got active
About to call getSlotValue for buy/verb/negation/obligatory
Got POS
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
      <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.cl.1"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
+          <thingy type="verbta" function="suffix" gloss="PAST"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np role="obj" gender="cl.1" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
+              <thingy type="nounnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing">
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing"/>
+              <thingy type="verbta" function="suffix" gloss="PAST"/>
+              <thingy type="verbmode" function="suffix" gloss="indicative"/>
+              <thingy type="verbvoice" function="suffix" gloss="active"/>
+              <thingy type="verbnegation" function="suffix" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" person="1excl">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2">
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2"/>
+                  <thingy type="verbta" function="suffix" gloss="PAST"/>
+                  <thingy type="verbmode" function="suffix" gloss="indicative"/>
+                  <thingy type="verbvoice" function="suffix" gloss="active"/>
+                  <thingy type="verbnegation" function="suffix" gloss="POS"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="cl.2">
                  <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
+                  <thingy type="nounnumber" function="suffix" gloss="sing"/>
                </np>
                <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np role="obj" gender="cl.1" number="sing">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="cl.4">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np role="obj" gender="cl.1" number="sing" person="1excl">
-              <subs>
-                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-                </vp>
-                <np def="def" number="sing" role="obj" locus="number" gender="cl.2">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-                </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl"/>
-              </subs>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1" ph="p a&#x2D0;">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing" ph="s e">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x28B; u">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2" ph="j a">ja</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" ph="w a s&#x2B7; e s">wasʷes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1" ph="s a x&#x2B7; &#xF8;">saxʷø</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="h u d&#x2B7;">hudʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1" ph="p a&#x2D0;">paː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4" ph="s a n o j">sanoj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing" ph="s e">se</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x28B; u">ʋu</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2" ph="j a">ja</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" ph="w a s&#x2B7; e s">wasʷes</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.1">saxʷø</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="cl.4">hudʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">paː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="cl.4">sanoj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="1excl.sing">se</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.2">ja</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2">wasʷes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" person="1excl">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing">ɾʷiɾun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saxʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hudʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanoj&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;se&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋu&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ja&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wasʷes&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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;ɾʷiɾun&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;ɾʷiɾun&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>saxʷøtʷykiɾ hudʷun paːtʷykiɾ sanojun setʷykiɾ ʋus jatʷykiɾ wasʷesun ɾʷiɾun ɾʷiɾun ɾʷiɾun</p>
+  <p>сахвөтвүкир гудвун паатвүкир санојун сетвүкир вус јатвүкир ўасвесун рвирун рвирун рвирун</p>
+  <il>
+    <w>
+      <o>saxʷø</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>hudʷ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>paː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>sanoj</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>se</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ʋu</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ja</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>wasʷes</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" gender="cl.1" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5">
          <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.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="cl.2">
          <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.cl.1" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for give/verb/ta/obligatory
Got PAST
About to call getSlotValue for give/verb/mode/obligatory
Got indicative
About to call getSlotValue for give/verb/voice/obligatory
Got active
About to call getSlotValue for give/verb/negation/obligatory
Got POS
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for a/det/gender/obligatory
Got cl.2
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for surprise/verb/ta/obligatory
Got PAST
About to call getSlotValue for surprise/verb/mode/obligatory
Got indicative
About to call getSlotValue for surprise/verb/voice/obligatory
Got active
About to call getSlotValue for surprise/verb/negation/obligatory
Got POS
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" gender="cl.1" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5">
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2"/>
+          <thingy type="verbta" function="suffix" gloss="PAST"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="cl.2">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2"/>
+          <thingy type="detgender" function="suffix" gloss="cl.2"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np role="subj" gender="cl.1" number="sing">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" role="obj" locus="number" gender="cl.2">
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2"/>
    <thingy type="detgender" function="suffix" gloss="cl.2"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2"/>
-    <thingy type="detgender" function="suffix" gloss="cl.2"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2" ph="d&#x2B7; y&#x2D0;">dʷyː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5" ph="t u &#x27E;&#x2B7;">tuɾʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="m i n">min</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5" ph="w y t o&#x2D0;">wytoː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5" ph="s i &#x283; a&#x2D0; n">siʃaːn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2" ph="d&#x2B7; y&#x2D0;">dʷyː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5" ph="t u &#x27E;&#x2B7;">tuɾʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="m i n">min</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2" ph="m a s i t&#x2B7;">masitʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5" ph="w y t o&#x2D0;">wytoː</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5" ph="s i &#x283; a&#x2D0; n">siʃaːn</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="cl.5">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="3.sing.cl.2">dʷyː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">tuɾʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="cl.2">kʷi</word>
+    <thingy type="detgender" function="suffix" gloss="cl.2">min</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.2">masitʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word gloss="COMP" posp="pp" role="subj" gender="cl.1" number="sing">ɾʷiɾun</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.5">wytoː</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5">siʃaːn</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷip&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʷyː&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuɾʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-min&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;masitʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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;wytoː&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;siʃaːn&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʷipun dʷyːtʷykiɾ tuɾʷun kʷimin masitʷun ɾʷiɾun wytoːtʷykiɾ siʃaːnun</p>
+  <p>твипун двүүтвүкир турвун квимин маситвун рвирун ўүтоотвүкир сишаанун</p>
+  <il>
+    <w>
+      <o>tʷip</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>dʷyː</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>tuɾʷ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʷi</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-min</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>masitʷ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>wytoː</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>siʃaːn</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

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

copyuptophrase:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <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.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="cl.1" number="sing">
+    <np role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl">
      <subs>
-        <np number="sing" def="neither" role="subj" locus="number">
+        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
        </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">
+        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for tell/verb/ta/obligatory
Got PAST
About to call getSlotValue for tell/verb/mode/obligatory
Got indicative
About to call getSlotValue for tell/verb/voice/obligatory
Got active
About to call getSlotValue for tell/verb/negation/obligatory
Got POS
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/voice/obligatory
Got active
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
+      <thingy type="verbta" function="suffix" gloss="PAST"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbvoice" function="suffix" gloss="active"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
+          <thingy type="verbta" function="suffix" gloss="PRES"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbvoice" function="suffix" gloss="active"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" 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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
    <thingy type="verbta" function="suffix" gloss="PAST"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl">
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbta" function="suffix" gloss="PRES"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbvoice" function="suffix" gloss="active"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" 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" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PAST"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbta" function="suffix" gloss="PRES"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbvoice" function="suffix" gloss="active"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing" ph="m au">mau</word>
+    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5" ph="t u &#x27E;&#x2B7;">tuɾʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x28B; u">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</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="m &#xF8;&#x2D0;">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="k&#x2B7; i">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</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" gender="cl.5" ph="t&#x2B7; i p">tʷip</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing" ph="m au">mau</word>
-    <thingy type="verbta" function="suffix" gloss="PAST" attach="suffix" ph="t&#x2B7;">tʷ</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5" ph="t u &#x27E;&#x2B7;">tuɾʷ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u n">un</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x28B; u">ʋu</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</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="m &#xF8;&#x2D0;">møː</word>
-    <thingy type="verbta" function="suffix" gloss="PRES" attach="suffix" ph="m">m</thingy>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="y">y</thingy>
-    <thingy type="verbvoice" function="suffix" gloss="active" attach="suffix" ph="k">k</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="i &#x27E;">iɾ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="k&#x2B7; i">kʷi</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="s">s</thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl" ph="&#x27E;&#x2B7; i &#x27E; u n">ɾʷiɾun</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">tʷip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">mau</word>
+    <thingy type="verbta" function="suffix" gloss="PAST">tʷ</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">tuɾʷ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">un</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʋu</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</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">møː</word>
+    <thingy type="verbta" function="suffix" gloss="PRES">m</thingy>
+    <thingy type="verbmode" function="suffix" gloss="indicative">y</thingy>
+    <thingy type="verbvoice" function="suffix" gloss="active">k</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">iɾ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number">kʷi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">s</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="cl.1" number="sing" person="1excl">ɾʷiɾun</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʷip&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mau&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;-tʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuɾʷ&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;-un&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋu&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møː&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-y&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-iɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷi&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾʷiɾun&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>tʷipun mautʷykiɾ tuɾʷun ʋus møːmykiɾ kʷis ɾʷiɾun</p>
+  <p>твипун маўтвүкир турвун вус мөөмүкир квис рвирун</p>
+  <il>
+    <w>
+      <o>tʷip</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mau</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-tʷ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>tuɾʷ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-un</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋu</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>møː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>-y</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>-k</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>-iɾ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>kʷi</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾʷiɾun</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>