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

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

<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="obj" def="def" number="plur" tr="rheme" locus="number">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
-    <np role="subj" number="sing" def="def" locus="number">
+    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

No change.

module wordorder:

<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="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">
+      <word posp="det" gloss="yon"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="num" gloss="three"/>
-      <word posp="det" gloss="yon"/>
    </np>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
  </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>
-    <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.plur" subj="3.sing">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">
      <word posp="det" gloss="yon"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="num" gloss="three"/>
    </np>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/case/obligatory
Got ABS
About to call getSlotValue for mouse/noun/number/obligatory
Got plur
About to call getSlotValue for woman/noun/case/obligatory
Got ERG
About to call getSlotValue for woman/noun/number/obligatory
Got sing
About to call getSlotValue for knife/noun/case/obligatory
Got ABS
About to call getSlotValue for knife/noun/number/obligatory
Got sing
<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" obj="3.plur" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
    </np>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
+          <thingy type="nouncase" function="prefix" gloss="ABS"/>
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
  </s>
</example>

flatten:

<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" obj="3.plur" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
-    </np>
-    <np role="subj" number="sing" def="def" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-      </pp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></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" case="ABS" ph="t&#x361;&#x283; i">t͡ʃi</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="t o p">top</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="k&#x2BC; i t">kʼit</word>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="i p">ip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="a# p e &#x28B;">a#peʋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n a# k&#x2BC; a &#x14B;">na#kʼaŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></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" case="ABS" ph="t&#x361;&#x283; i">t͡ʃi</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="t o p">top</word>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS" ph="k&#x2BC; i t">kʼit</word>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="i p">ip</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="a# p e &#x28B;">a#peʋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n a# k&#x2BC; a &#x14B;">na#kʼaŋ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">t͡ʃi</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">top</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">aj</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ABS">kʼit</word>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG">ip</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">a#peʋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">na#kʼaŋ</word>
  </flat>
+  <p>&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;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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃĩn&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;t͡ʃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;top&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aɲupot͡ʃ&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;-aj&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;kʼit&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ip&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãpeʋ&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;-ũt͡ʃ&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ãkʼaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃut͡ʃĩned t͡ʃi top qaɲupot͡ʃaj kʼit ŋipũt͡ʃ qãpeʋũt͡ʃ nãkʼaŋ</p>
+  <p>चुचिँनेद् चि तोप् क़ञुपोचय् क़इत् ङिपुँच् क़ँपेवुँच् नँक़अङ्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃĩn</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>t͡ʃi</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>top</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>aɲupot͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>kʼit</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ip</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãpeʋ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>nãkʼaŋ</o>
+      <g>COMIT</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ABS">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/comp/obligatory
Got not.COMP
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing" ph="n u t">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS" ph="d e">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG" ph="d e">de</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing" ph="n u t">nut</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS" ph="d e">de</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG" ph="d e">de</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ABS">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ERG">de</word>
  </flat>
+  <p>&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;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;e-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;nut&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃenuted de de</p>
+  <p>चेनुतेद् दे दे</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>nut</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Akhamun hates Ipatam.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing" ph="k a t e x">katex</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="Ipatam" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" propernoun="yes" ph="i# p a &#x288; a# m">i#paʈa#m</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="Akhamun" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" propernoun="yes" ph="a x a m u n">axamun</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Akhamun hates Ipatam.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing" ph="k a t e x">katex</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="Ipatam" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" propernoun="yes" ph="i# p a &#x288; a# m">i#paʈa#m</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="Akhamun" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" propernoun="yes" ph="a x a m u n">axamun</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing" subj="3.sing">katex</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="Ipatam" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" propernoun="yes">i#paʈa#m</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="Akhamun" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" propernoun="yes">axamun</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;e-&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;katex&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ĩpaʈãm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Ipatam&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;axamun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Akhamun&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃekatexed qĩpaʈãmũt͡ʃ ŋaxamunũt͡ʃ</p>
+  <p>चेकतेएद् क़्इँपटँमुँच् ङ्अअमुनुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>katex</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ĩpaʈãm</o>
+      <g>Ipatam</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>axamun</o>
+      <g>Akhamun</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="ABS" number="sing">
-    <np number="sing" def="def" locus="number" role="owned">
+  <np number="sing" def="def" locus="number" role="owned" case="ABS">
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner">
    <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" case="ABS">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning ABS

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got ABS
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/case/obligatory
Got ABS
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" case="ABS">
+    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner">
+    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner"/>
+    <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" case="ABS">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" ph="i &#x272;">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" ph="i &#x272;">iɲ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʋiʋam&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiʋiʋamũt͡ʃ qiɲũt͡ʃ</p>
+  <p>क़िविवमुँच् क़िञुँच्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iʋiʋam</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iɲ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" ph="d e">de</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" ph="d e">de</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner">de</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʋiʋam&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;-ũt͡ʃ&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiʋiʋamũt͡ʃ de</p>
+  <p>क़िविवमुँच् दे</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iʋiʋam</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

copyuptophrase:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="ABS" number="sing">
    <np number="sing" def="def" locus="number" role="owned">
      <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"/>
    </np>
  </np>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got ABS
About to call getSlotValue for apple/noun/number/obligatory
Got sing
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" case="ABS">
+    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
+    <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" def="neither" locus="number" role="owner"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" case="ABS">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    <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" def="neither" locus="number" role="owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" ph="k i b">kib</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" ph="k i b">kib</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="ABS">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner">kib</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʋiʋam&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;-ũt͡ʃ&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;kib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiʋiʋamũt͡ʃ kib</p>
+  <p>क़िविवमुँच् किब्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iʋiʋam</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj">
+    <np role="obj" case="ABS">
      <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>
-    <np role="subj">
+    <np role="subj" case="ERG">
      <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>
  </s>
</example>

module propagatenumber:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owned">
            <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"/>
          </np>
        </np>
      </np>
    </np>
    <np role="subj" case="ERG" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <np type="owner_owned" number="sing">
+    <np type="owner_owned" number="sing" role="obj" case="ABS">
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="son"/>
      </np>
      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <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"/>
        </np>
      </np>
    </np>
-    </np>
-    <np role="subj" case="ERG" number="sing">
-      <np type="owner_owned" number="sing">
+    <np type="owner_owned" number="sing" role="subj" case="ERG">
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="daughter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owner">
        <word posp="noun" gloss="hunter"/>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" number="sing" role="obj" case="ABS">
-      <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="ABS">
      <word posp="noun" gloss="son"/>
    </np>
-      <np type="owner_owned" role="owner" number="sing">
    <np number="sing" def="def" locus="number" role="owned">
      <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"/>
    </np>
-      </np>
-    </np>
-    <np type="owner_owned" number="sing" role="subj" case="ERG">
-      <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="ERG">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="hunter"/>
    </np>
-    </np>
  </s>
</example>

movedowntoword:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" case="ABS">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ERG">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for case/
defaultval: noun, case
returning ABS
calling defaultval for case/
defaultval: noun, case
returning ABS

addaffixes:

About to call getSlotValue for kiss/verb/negation/obligatory
Got POS
About to call getSlotValue for kiss/verb/ta/obligatory
Got PAST
About to call getSlotValue for kiss/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for son/noun/case/obligatory
Got ABS
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/case/obligatory
Got ABS
About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/case/obligatory
Got ERG
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got ABS
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d u &#x288; a k&#x2BC;">duʈakʼ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS" ph="a# j">a#j</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" ph="i# t i t i t&#x361;&#x283;">i#titit͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="t a &#x272;">taɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="u# n">u#n</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d u &#x288; a k&#x2BC;">duʈakʼ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS" ph="a# j">a#j</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" ph="i# t i t i t&#x361;&#x283;">i#titit͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="t a &#x272;">taɲ</word>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="u# n">u#n</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">duʈakʼ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ABS">a#j</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned">i#titit͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner">taɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG">u#n</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&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;duʈakʼ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ĩtitit͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲ&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ũn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãŋinekʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃuduʈakʼed qãjũt͡ʃ qĩtitit͡ʃũt͡ʃ taɲ ŋũnũt͡ʃ qãŋinekʼũt͡ʃ</p>
+  <p>चुदुटक़एद् क़ँयुँच् क़िँतितिचुँच् तञ् ङुँनुँच् क़ँङिनेक़उँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>duʈakʼ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ĩtitit͡ʃ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>taɲ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ũn</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãŋinekʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" ph="u# t&#x361;&#x283; a &#x272; u b">u#t͡ʃaɲub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" ph="u# t&#x361;&#x283; a &#x272; u b">u#t͡ʃaɲub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS">u#t͡ʃaɲub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ũt͡ʃaɲub&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qũt͡ʃaɲubũt͡ʃ</p>
+  <p>क़ुँचञुबुँच्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ũt͡ʃaɲub</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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"/>
        </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"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

<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>
-        <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" comp="COMP">
          <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"/>
        </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>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
          <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"/>
        </np>
      </subs>
    </np>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
+    </np>
  </s>
</example>

module casemarking:

<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 role="obj">
+    <np role="obj" case="ABS">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
          <word posp="verb" gloss="have"/>
        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number">
+        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ABS">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

<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 role="obj" case="ABS">
+    <np role="obj" case="ABS" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ABS">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

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

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="want"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="have"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
          <word posp="adj" gloss="little"/>
          <word posp="noun" gloss="lamb"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
-          <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" comp="COMP" obj="3.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
-          <word posp="adj" gloss="little"/>
-          <word posp="noun" gloss="lamb"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for want/verb/negation/obligatory
Got POS
About to call getSlotValue for want/verb/ta/obligatory
Got PAST
About to call getSlotValue for want/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for have/verb/negation/obligatory
Got POS
About to call getSlotValue for have/verb/ta/obligatory
Got PAST
About to call getSlotValue for have/verb/comp/obligatory
Got COMP
About to call getSlotValue for lamb/noun/case/obligatory
Got ABS
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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
+          <thingy type="nouncase" function="prefix" gloss="ABS"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS"/>
    </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" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ABS">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d i# &#x28B;">di#ʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" ph="&#x272; i d">ɲid</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="p i# p">pi#p</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="u# t&#x361;&#x283; a &#x272; u b">u#t͡ʃaɲub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS" ph="d e">de</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d i# &#x28B;">di#ʋ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" ph="&#x272; i d">ɲid</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="p i# p">pi#p</word>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="u# t&#x361;&#x283; a &#x272; u b">u#t͡ʃaɲub</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS" ph="d e">de</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">di#ʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing">ɲid</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">in</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ABS">pi#p</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ABS">u#t͡ʃaɲub</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="ABS">de</word>
  </flat>
+  <p>&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;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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dĩʋ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;t͡ʃ-&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;&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;ɲid&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;-in&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;pĩp&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ũt͡ʃaɲub&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;-ũt͡ʃ&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃudĩʋed t͡ʃuɲidin pĩp qũt͡ʃaɲubũt͡ʃ de</p>
+  <p>चुदिँवेद् चुञिदिन् पिँप् क़ुँचञुबुँच् दे</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dĩʋ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɲid</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-in</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>pĩp</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ũt͡ʃaɲub</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" locus="number">
+    <np number="sing" def="neither" role="obj" locus="number" case="ABS">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </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="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="obj" locus="number" case="ABS">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

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" obj="2.sing" subj="1excl.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/comp/obligatory
Got not.COMP
<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="n u t">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS" ph="t a &#x272;">taɲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="n u t">nut</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS" ph="t a &#x272;">taɲ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS">taɲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
  </flat>
+  <p>&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;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;e-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;nut&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;taɲ&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;kib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃenuted taɲ kib</p>
+  <p>चेनुतेद् तञ् किब्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>nut</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>taɲ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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 posp="noun" gloss="table"/>
    </np>
+    <word gloss="in_surface" posp="pp"/>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got ABS
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">
    <np def="def" number="sing" locus="number">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="o &#x28B; i j">oʋij</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="b i j">bij</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="o &#x28B; i j">oʋij</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="b i j">bij</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">oʋij</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">bij</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;oʋij&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;-ũt͡ʃ&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;bij&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qoʋijũt͡ʃ bij</p>
+  <p>क़ोवियुँच् बिय्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>oʋij</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>bij</o>
+      <g>in_surface</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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 posp="noun" gloss="box"/>
    </np>
+    <word gloss="to_inside" posp="pp"/>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got ABS
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">
    <np def="def" number="sing" locus="number">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="i &#x294; i k a &#x272;">iʔikaɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="t&#x361;&#x283; o k">t͡ʃok</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="i &#x294; i k a &#x272;">iʔikaɲ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="t&#x361;&#x283; o k">t͡ʃok</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">iʔikaɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">t͡ʃok</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʔikaɲ&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;-ũt͡ʃ&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͡ʃok&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiʔikaɲũt͡ʃ t͡ʃok</p>
+  <p>क़िऽइकञुँच् चोक्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iʔikaɲ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ʃok</o>
+      <g>to_inside</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="k i b">kib</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n a# k&#x2BC; a &#x14B;">na#kʼaŋ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="k i b">kib</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n a# k&#x2BC; a &#x14B;">na#kʼaŋ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">kib</word>
+    <word gloss="COMIT" posp="pp" role="comitative">na#kʼaŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kib&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;nãkʼaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kib nãkʼaŋ</p>
+  <p>किब् नँक़अङ्</p>
+  <il>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>nãkʼaŋ</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ABS">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for kill/verb/ta/obligatory
Got PAST
About to call getSlotValue for kill/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for hunter/noun/case/obligatory
Got ABS
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for jaguar/noun/case/obligatory
Got ERG
About to call getSlotValue for jaguar/noun/number/obligatory
Got sing
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d e p">dep</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="i &#x272; u# q o &#x294;">iɲu#qoʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="d e p">dep</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="i &#x272; u# q o &#x294;">iɲu#qoʔ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">dep</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG">iɲu#qoʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&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;dep&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãŋinekʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iɲũqoʔ&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃudeped qãŋinekʼũt͡ʃ ŋiɲũqoʔũt͡ʃ</p>
+  <p>चुदेपेद् क़ँङिनेक़उँच् ङिञुँक़ोऽउँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dep</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãŋinekʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>iɲũqoʔ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 role="obj">
+    <np role="obj" case="ABS">
      <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>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module propagatenumber:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <np type="owner_owned" number="sing">
+    <np type="owner_owned" number="sing" role="obj" case="ABS">
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="dog"/>
      </np>
      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
-    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" number="sing" role="obj" case="ABS">
-      <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="ABS">
      <word posp="noun" gloss="dog"/>
    </np>
-      <np type="owner_owned" role="owner" number="sing">
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="hunter"/>
    </np>
-      </np>
-    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

movedowntoword:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" case="ABS">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for case/
defaultval: noun, case
returning ABS
calling defaultval for case/
defaultval: noun, case
returning ABS

addaffixes:

About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for dog/noun/case/obligatory
Got ABS
About to call getSlotValue for dog/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/case/obligatory
Got ABS
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/case/obligatory
Got ABS
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for lion/noun/case/obligatory
Got ERG
About to call getSlotValue for lion/noun/number/obligatory
Got sing
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
+      <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>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    <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>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS" ph="a k">ak</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="u# n">u#n</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="u t&#x361;&#x283; a &#x294; u j">ut͡ʃaʔuj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS" ph="a k">ak</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="u# n">u#n</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="u t&#x361;&#x283; a &#x294; u j">ut͡ʃaʔuj</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ABS">ak</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned">u#n</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG">ut͡ʃaʔuj</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tãʔ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ak&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ũn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãŋinekʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ut͡ʃaʔuj&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃutãʔed qakũt͡ʃ qũnũt͡ʃ qãŋinekʼũt͡ʃ ŋut͡ʃaʔujũt͡ʃ</p>
+  <p>चुतँऽएद् क़कुँच् क़ुँनुँच् क़ँङिनेक़उँच् ङुचऽउयुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tãʔ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ak</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ũn</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãŋinekʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ut͡ʃaʔuj</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="ABS" number="sing">
-    <np number="sing" def="def" locus="number" role="owned">
+  <np number="sing" def="def" locus="number" role="owned" case="ABS">
    <word posp="noun" gloss="book"/>
  </np>
-    <np type="owner_owned" role="owner" number="sing">
  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="friend"/>
  </np>
-      <np type="owner_owned" role="owner" number="sing">
  <np number="sing" def="def" locus="number" role="owned">
    <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"/>
  </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" case="ABS">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="ABS"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" person="2">
-    <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning ABS
calling defaultval for case/
defaultval: noun, case
returning ABS

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner"/>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i b e n">iben</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" ph="e &#x288;">eʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# j">a#j</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="t a &#x272;">taɲ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="ABS" ph="i b e n">iben</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" ph="e &#x288;">eʈ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# j">a#j</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" ph="t a &#x272;">taɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="ABS">iben</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned">eʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned">a#j</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner">taɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iben&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;eʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qibenũt͡ʃ qeʈũt͡ʃ qãjũt͡ʃ taɲ</p>
+  <p>क़िबेनुँच् क़ेटुँच् क़ँयुँच् तञ्</p>
+  <il>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iben</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>eʈ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ãj</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>taɲ</o>
+      <g>2.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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<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">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
      <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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="sleep"/>
+      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for sleep/verb/negation/obligatory
Got POS
About to call getSlotValue for sleep/verb/ta/obligatory
Got PRES
About to call getSlotValue for sleep/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for cat/noun/case/obligatory
Got ABS
About to call getSlotValue for cat/noun/number/obligatory
Got sing
<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" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="x a q">xaq</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" ph="a t">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="x a q">xaq</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" ph="a t">at</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">xaq</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;e-&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;xaq&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;at&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃexaqed qatũt͡ʃ</p>
+  <p>चेअक़ेद् क़तुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>xaq</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>at</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<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">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">
      <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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="x a &#x294;">xaʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" ph="a t">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="x a &#x294;">xaʔ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" ph="a t">at</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">xaʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;e-&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;xaʔ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;at&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃexaʔed qatũt͡ʃ</p>
+  <p>चेअऽएद् क़तुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>xaʔ</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>at</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i &#x272; e q">t͡ʃiɲeq</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="a t">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i &#x272; e q">t͡ʃiɲeq</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="a t">at</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing" subj="3.sing">t͡ʃiɲeq</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;e-&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;t͡ʃiɲeq&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aɲupot͡ʃ&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;-ũt͡ʃ&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;at&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃet͡ʃiɲeqed qaɲupot͡ʃũt͡ʃ ŋatũt͡ʃ</p>
+  <p>चेचिञेक़ेद् क़ञुपोचुँच् ङतुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>t͡ʃiɲeq</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>aɲupot͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>at</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
    </np>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/case/obligatory
Got ABS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/case/obligatory
Got ERG
About to call getSlotValue for cat/noun/number/obligatory
Got sing
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="a t">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="a t">at</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃĩn&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aɲupot͡ʃ&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;-ũt͡ʃ&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;at&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃut͡ʃĩned qaɲupot͡ʃũt͡ʃ ŋatũt͡ʃ</p>
+  <p>चुचिँनेद् क़ञुपोचुँच् ङतुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃĩn</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>aɲupot͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>at</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="ABS">
      <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>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module propagatenumber:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.plur" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ABS" number="plur">
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.plur" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" case="ABS" number="plur">
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="lion"/>
    </np>
-    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<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" obj="3.plur" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.plur" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for kill/verb/ta/obligatory
Got PAST
About to call getSlotValue for kill/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for jaguar/noun/case/obligatory
Got ABS
About to call getSlotValue for jaguar/noun/number/obligatory
Got plur
About to call getSlotValue for tiger/noun/case/obligatory
Got ABS
About to call getSlotValue for tiger/noun/number/obligatory
Got plur
About to call getSlotValue for lion/noun/case/obligatory
Got ABS
About to call getSlotValue for lion/noun/number/obligatory
Got plur
About to call getSlotValue for hunter/noun/case/obligatory
Got ERG
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
<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" obj="3.plur" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" obj="3.plur" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing" ph="d e p">dep</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="i &#x272; u# q o &#x294;">iɲu#qoʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
+    <word posp="conj" gloss="and" ph="d o m">dom</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="a &#x288; a# d e &#x28B;">aʈa#deʋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
+    <word posp="conj" gloss="and" ph="d o m">dom</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="u t&#x361;&#x283; a &#x294; u j">ut͡ʃaʔuj</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing" ph="d e p">dep</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="i &#x272; u# q o &#x294;">iɲu#qoʔ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
-    <word posp="conj" gloss="and" ph="d o m">dom</word>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="a &#x288; a# d e &#x28B;">aʈa#deʋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
-    <word posp="conj" gloss="and" ph="d o m">dom</word>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS" ph="u t&#x361;&#x283; a &#x294; u j">ut͡ʃaʔuj</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="a# &#x14B; i n e k&#x2BC;">a#ŋinekʼ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur" subj="3.sing">dep</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">iɲu#qoʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">aj</thingy>
+    <word posp="conj" gloss="and">dom</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">aʈa#deʋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">aj</thingy>
+    <word posp="conj" gloss="and">dom</word>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ABS">ut͡ʃaʔuj</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">aj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">a#ŋinekʼ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&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;dep&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iɲũqoʔ&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;-aj&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;dom&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aʈãdeʋ&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;-aj&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;dom&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ut͡ʃaʔuj&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;-aj&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãŋinekʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃudeped qiɲũqoʔaj dom qaʈãdeʋaj dom qut͡ʃaʔujaj ŋãŋinekʼũt͡ʃ</p>
+  <p>चुदेपेद् क़िञुँक़ोऽअय् दोम् क़टँदेवय् दोम् क़ुचऽउयय् ङँङिनेक़उँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dep</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iɲũqoʔ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>dom</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>aʈãdeʋ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>dom</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ut͡ʃaʔuj</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ãŋinekʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

copyuptophrase:

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

prodrop:

No change.

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" obj="3.sing" subj="1excl.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for cat/noun/case/obligatory
Got ABS
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" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </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" obj="3.sing" subj="1excl.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="a t">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" ph="a t">at</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS">at</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
  </flat>
+  <p>&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;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;&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;ʔajoʋ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;at&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;-ũt͡ʃ&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;kib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃuʔajoʋed qatũt͡ʃ kib</p>
+  <p>चुऽअयोवेद् क़तुँच् किब्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʔajoʋ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>at</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.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 sequential:

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

module sentenceconnectors:

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

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="mouse"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number">
+    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/case/obligatory
Got ABS
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </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" obj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    </np>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    </np>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" ph="a &#x272; u p o t&#x361;&#x283;">aɲupot͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS">aɲupot͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG">de</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
  </flat>
+  <p>&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;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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃĩn&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;aɲupot͡ʃ&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;-ũt͡ʃ&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&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;&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;ʔajoʋ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kib&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;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃut͡ʃĩned qaɲupot͡ʃũt͡ʃ de t͡ʃuʔajoʋed de kib t͡ʃon</p>
+  <p>चुचिँनेद् क़ञुपोचुँच् दे चुऽअयोवेद् दे किब् चोन्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃĩn</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>aɲupot͡ʃ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʔajoʋ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

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" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="cheese"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ABS" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
      <word posp="noun" gloss="cheese"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number">
+    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ABS" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number">
+    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
-      <word posp="noun" gloss="cheese"/>
+      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for cheese/noun/case/obligatory
Got ABS
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
<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" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ABS">
+      <thingy type="nouncase" function="prefix" gloss="ABS"/>
      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" ph="i k i d e &#x14B;">ikideŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" ph="i k i d e &#x14B;">ikideŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS">ikideŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG">de</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG">de</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
  </flat>
+  <p>&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;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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tãʔ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ikideŋ&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;-ũt͡ʃ&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃĩn&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&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;&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;ʔajoʋ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kib&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;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃutãʔed qikideŋũt͡ʃ de t͡ʃut͡ʃĩned de de t͡ʃon t͡ʃuʔajoʋed de kib t͡ʃon</p>
+  <p>चुतँऽएद् क़िकिदेङुँच् दे चुचिँनेद् दे दे चोन् चुऽअयोवेद् दे किब् चोन्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tãʔ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>ikideŋ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃĩn</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʔajoʋ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

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

module sentenceconnectors:

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

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="buy"/>
+      <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="3.sing" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for buy/verb/negation/obligatory
Got POS
About to call getSlotValue for buy/verb/ta/obligatory
Got PAST
About to call getSlotValue for buy/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
<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" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="ERG">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ABS">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    <word gloss="then" posp="conj"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="t&#x361;&#x283; i b">t͡ʃib</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</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>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="t&#x361;&#x283; i b">t͡ʃib</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t a# &#x294;">ta#ʔ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing" ph="t&#x361;&#x283; i# n">t͡ʃi#n</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG" ph="d e">de</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x294; a j o &#x28B;">ʔajoʋ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS" ph="d e">de</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
-    <word gloss="then" posp="conj" ph="t&#x361;&#x283; o n">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">t͡ʃib</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">ta#ʔ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG">de</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="3.sing">t͡ʃi#n</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" case="ERG">de</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ʔajoʋ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" case="ABS">de</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
+    <word gloss="then" posp="conj">t͡ʃon</word>
  </flat>
+  <p>&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;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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃib&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kib&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;t͡ʃ-&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tãʔ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃĩn&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&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;&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;ʔajoʋ&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;de&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kib&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;t͡ʃon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃut͡ʃibed de kib t͡ʃutãʔed de de t͡ʃon t͡ʃut͡ʃĩned de de t͡ʃon t͡ʃuʔajoʋed de kib t͡ʃon</p>
+  <p>चुचिबेद् दे किब् चुतँऽएद् दे दे चोन् चुचिँनेद् दे दे चोन् चुऽअयोवेद् दे किब् चोन्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃib</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tãʔ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃĩn</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʔajoʋ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>de</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ʃon</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

<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>
-        <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" comp="COMP">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" head="this" role="subj" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

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

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<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">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
    <np role="subj" case="ERG" number="sing">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ABS">
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ERG">
          <word posp="noun" gloss="boy"/>
        </np>
      </subs>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
    <np role="subj" case="ERG" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="give"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ABS">
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ERG">
          <word posp="noun" gloss="boy"/>
        </np>
      </subs>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" indobj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    </np>
    <np role="subj" case="ERG" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
-          <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" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ABS">
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ERG">
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG"/>
        </np>
      </subs>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for surprise/verb/negation/obligatory
Got POS
About to call getSlotValue for surprise/verb/ta/obligatory
Got PAST
About to call getSlotValue for surprise/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for teacher/noun/case/obligatory
Got DAT
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
About to call getSlotValue for give/verb/negation/obligatory
Got POS
About to call getSlotValue for give/verb/ta/obligatory
Got PAST
About to call getSlotValue for give/verb/comp/obligatory
Got COMP
About to call getSlotValue for apple/noun/case/obligatory
Got ABS
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for girl/noun/case/obligatory
Got DAT
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/case/obligatory
Got ERG
About to call getSlotValue for boy/noun/number/obligatory
Got sing
<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" indobj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
+      <thingy type="nouncase" function="prefix" gloss="DAT"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="subj" case="ERG" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ABS">
+          <thingy type="nouncase" function="prefix" gloss="ABS"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
+          <thingy type="nouncase" function="prefix" gloss="DAT"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ERG">
+          <thingy type="nouncase" function="prefix" gloss="ERG"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
  </s>
</example>

flatten:

<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" indobj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="subj" case="ERG" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" role="obj" locus="number" case="ABS">
    <thingy type="nouncase" function="prefix" gloss="ABS"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ABS"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing" ph="&#x288; u# k&#x2BC; a t">ʈu#kʼat</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="a k i t e n">akiten</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing" ph="q a# k">qa#k</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="i &#x294;">iʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG" ph="i &#x272;">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</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>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing" ph="&#x288; u# k&#x2BC; a t">ʈu#kʼat</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="a k i t e n">akiten</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing" ph="q a# k">qa#k</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ABS" attach="prefix" ph="q">q</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" ph="i &#x28B; i &#x28B; a m">iʋiʋam</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="i &#x294;">iʔ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG" ph="i &#x272;">iɲ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" subj="3.sing">ʈu#kʼat</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT">j</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">akiten</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing" indobj="3.sing" subj="3.sing">qa#k</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">in</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ABS">q</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS">iʋiʋam</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT">j</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">iʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ERG">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈũkʼat&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;j-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;akiten&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;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&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;qãk&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;-in&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;q-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʋiʋam&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;-ũt͡ʃ&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;j-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʔ&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;-ũt͡ʃ&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃuʈũkʼated jakitenũt͡ʃ t͡ʃuqãkin qiʋiʋamũt͡ʃ jiʔũt͡ʃ ŋiɲũt͡ʃ</p>
+  <p>चुटुँक़अतेद् यकितेनुँच् चुक़ँकिन् क़िविवमुँच् यिऽउँच् ङिञुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʈũkʼat</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>akiten</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>qãk</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-in</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>q-</o>
+      <g>ABS</g>
+    </w>
+    <w>
+      <o>iʋiʋam</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>iʔ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>iɲ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

<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>
-        <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" comp="COMP">
          <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>
    <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" ta="PRES" comp="COMP">
          <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>
+        <np number="sing" def="neither" role="subj" locus="number">
+          <word person="1excl" number="sing" posp="pron"/>
+        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="noun" gloss="boy"/>
+    </np>
  </s>
</example>

module casemarking:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="2.sing" indobj="3.sing" subj="3.sing">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ABS" number="sing" person="2">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="love"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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" obj="2.sing" indobj="3.sing" subj="3.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ABS" number="sing" person="2">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
-          <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" comp="COMP" obj="2.sing" subj="1excl.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
-          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for tell/verb/negation/obligatory
Got POS
About to call getSlotValue for tell/verb/ta/obligatory
Got PAST
About to call getSlotValue for tell/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/comp/obligatory
Got COMP
About to call getSlotValue for girl/noun/case/obligatory
Got DAT
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/case/obligatory
Got ERG
About to call getSlotValue for boy/noun/number/obligatory
Got sing
<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" obj="2.sing" indobj="3.sing" subj="3.sing">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ABS" number="sing" person="2">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbta" function="prefix" gloss="PRES"/>
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
+      <thingy type="nouncase" function="prefix" gloss="DAT"/>
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
+      <thingy type="nouncase" function="prefix" gloss="ERG"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<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" obj="2.sing" indobj="3.sing" subj="3.sing">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" tr="rheme" case="ABS" number="sing" person="2">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="ABS" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
-        </np>
-        <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-        </np>
-      </subs>
-    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
    <thingy type="nouncase" function="prefix" gloss="ERG"/>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nouncase" function="prefix" gloss="ERG"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing" ph="&#x288; u# t">ʈu#t</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing" ph="n u t">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS" ph="t a &#x272;">taɲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="i &#x294;">iʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="i &#x272;">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="u">u</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing" ph="&#x288; u# t">ʈu#t</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="e d">ed</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="e">e</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing" ph="n u t">nut</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="i n">in</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS" ph="t a &#x272;">taɲ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" ph="k i b">kib</word>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="j">j</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="i &#x294;">iʔ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ERG" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="i &#x272;">iɲ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u# t&#x361;&#x283;">u#t͡ʃ</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST">u</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing" subj="3.sing">ʈu#t</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">ed</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS">t͡ʃ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES">e</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">nut</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">in</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ABS">taɲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG">kib</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT">j</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">iʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ERG">ŋ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">iɲ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u#t͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈũt&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;-ed&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;t͡ʃ-&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;e-&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;nut&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;-in&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;taɲ&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;kib&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;j-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iʔ&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;-ũt͡ʃ&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;iɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ũt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃuʈũted t͡ʃenutin taɲ kib jiʔũt͡ʃ ŋiɲũt͡ʃ</p>
+  <p>चुटुँतेद् चेनुतिन् तञ् किब् यिऽउँच् ङिञुँच्</p>
+  <il>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>u-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʈũt</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-ed</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>t͡ʃ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>e-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>nut</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-in</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>taɲ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>kib</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>j-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>iʔ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>iɲ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ũt͡ʃ</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>