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

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

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="neut"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="n &#x259;# &#x261;">nə#ɡ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="neut" ph="t&#x361;s i&#x2D0; d&#x361;&#x292;">t͡siːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="a t&#x361;s">at͡s</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; u &#x261; o q">ɲuɡoq</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="&#x261; e">ɡe</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="x">x</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="t&#x361;s o r">t͡sor</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="q u &#x272;">quɲ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.fem" ph="q i &#x272;">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="n &#x259;# &#x261;">nə#ɡ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="neut" ph="t&#x361;s i&#x2D0; d&#x361;&#x292;">t͡siːd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="a t&#x361;s">at͡s</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; u &#x261; o q">ɲuɡoq</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="&#x261; e">ɡe</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="x">x</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="t&#x361;s o r">t͡sor</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem" ph="q u &#x272;">quɲ</word>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.fem" ph="q i &#x272;">qiɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem">nə#ɡ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="neut">t͡siːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">at͡s</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">ɲuɡoq</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem">ɡe</word>
+    <thingy type="detgender" function="suffix" gloss="fem">x</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem">t͡sor</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="fem">quɲ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.fem">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nə̃ɡ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡siːd͡ʒ&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;-at͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲuɡoq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sor&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;bazɔiz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;quɲ&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;qiɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nə̃ɡam t͡siːd͡ʒat͡s ɲuɡoq ɡex t͡sor bazɔizam quɲ qiɲen d͡ʒiɡ</p>
+  <p>nẽgam tziijatz ñugoq gekh tzor bazoizam quñ qiñen jig</p>
+  <il>
+    <w>
+      <o>nə̃ɡ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡siːd͡ʒ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-at͡s</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>ɲuɡoq</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ɡe</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-x</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>t͡sor</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>bazɔiz</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>quɲ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>qiɲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number">ɡə#ːɡ</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number">ɡer</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xup</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zɔit͡s&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xup&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡə̃ːɡ ɡer zɔit͡sen xup</p>
+  <p>gẽẽg ger zoitzen khup</p>
+  <il>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>zɔit͡s</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>xup</o>
+      <g>PRES.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
-      <word posp="verb" gloss="hate"/>
+      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Khudakh hates Qurab.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+    <word posp="noun" gloss="Khudakh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="x u d a x">xudax</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="Qurab" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="q u r &#x259;# b">qurə#b</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s o z i r">t͡sozir</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Khudakh hates Qurab.">
  <flat>
-    <word posp="noun" gloss="Khudakh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="x u d a x">xudax</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="Qurab" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="q u r &#x259;# b">qurə#b</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s o z i r">t͡sozir</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
+    <word posp="noun" gloss="Khudakh" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes">xudax</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="Qurab" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes">qurə#b</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">t͡sozir</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xup</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xudax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Khudakh&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qurə̃b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Qurab&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sozir&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xup&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xudaxam qurə̃bam t͡soziren xup</p>
+  <p>Khudakham Qurẽbam tzoziren khup</p>
+  <il>
+    <w>
+      <o>xudax</o>
+      <g>Khudakh</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qurə̃b</o>
+      <g>Qurab</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡sozir</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>xup</o>
+      <g>PRES.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="masc">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="masc">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mə̃ɡiːb&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biːd͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mə̃ɡiːbam biːd͡ʒam</p>
+  <p>mẽgiibam biijam</p>
+  <il>
+    <w>
+      <o>mə̃ɡiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>biːd͡ʒ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="masc">
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner">ɡə#ːɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mə̃ɡiːb&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mə̃ɡiːbam ɡə̃ːɡ</p>
+  <p>mẽgiibam gẽẽg</p>
+  <il>
+    <w>
+      <o>mə̃ɡiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
  <np number="sing" def="neither" locus="number" role="owner" person="1excl">
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner">d͡zeːs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mə̃ɡiːb&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mə̃ɡiːbam d͡zeːs</p>
+  <p>mẽgiibam dzees</p>
+  <il>
+    <w>
+      <o>mə̃ɡiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡zeːs</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" gender="fem">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
-      <word posp="verb" gloss="kiss"/>
+      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="s i s">sis</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; a n">ɡan</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" ph="x &#x259;# s i&#x2D0; s">xə#siːs</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" ph="p a &#x261;">paɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="n u &#x261; i&#x2D0; x">nuɡiːx</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="s i s">sis</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; a n">ɡan</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc" ph="x &#x259;# s i&#x2D0; s">xə#siːs</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" ph="p a &#x261;">paɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="n u &#x261; i&#x2D0; x">nuɡiːx</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem">sis</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc">ɡan</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="masc">xə#siːs</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner">paɡ</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">nuɡiːx</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sis&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲibaq&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡan&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xə̃siːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paɡ&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;nuɡiːx&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sisam ɲibaqam ɡanam xə̃siːsam paɡ nuɡiːxen d͡ʒiɡ</p>
+  <p>sisam ñibaqam ganam khẽsiisam pag nugiikhen jig</p>
+  <il>
+    <w>
+      <o>sis</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲibaq</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡan</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xə̃siːs</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>paɡ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>nuɡiːx</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" gender="masc">
    <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" gender="masc">
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" ph="b e s ai b">besaib</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc" ph="b e s ai b">besaib</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="masc">besaib</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;besaib&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>besaibam</p>
+  <p>besaibam</p>
+  <il>
+    <w>
+      <o>besaib</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

No change.

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="fem">
-      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
+      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <np role="obj" gender="neut" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc">
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">
-      <word posp="verb" gloss="want"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 3.sing.fem/pron/number/optional
Got sing
About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for little/adj/case/optional
About to call getSlotValue for have/verb/negation.question/obligatory
Got POS.not.Q
About to call getSlotValue for want/verb/negation.question/obligatory
Got POS.not.Q
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="obj" gender="neut" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc">
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
+          <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
+      <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="fem">
+  <flat>
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="obj" gender="neut" number="sing">
-      <subs>
-        <np number="sing" tr="rheme" role="obj" locus="number" gender="masc">
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-        </vp>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="b e s ai b">besaib</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="t&#x361;s o&#x2D0; p">t͡soːp</word>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" ph="t&#x361;&#x283; u t&#x361;&#x283;">t͡ʃut͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut" ph="&#x261; u&#x2D0; &#x272;">ɡuːɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="b e s ai b">besaib</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="t&#x361;s o&#x2D0; p">t͡soːp</word>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" ph="t&#x361;&#x283; u t&#x361;&#x283;">t͡ʃut͡ʃ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut" ph="&#x261; u&#x2D0; &#x272;">ɡuːɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number">ɡer</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="masc">besaib</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" gender="masc">t͡soːp</word>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc">t͡ʃut͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.neut">ɡuːɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;besaib&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡soː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;t͡ʃut͡ʃ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&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;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡer besaibam t͡soːp t͡ʃut͡ʃen d͡ʒiɡ ɡuːɲen d͡ʒiɡ</p>
+  <p>ger besaibam tzoop chuchen jig guuñen jig</p>
+  <il>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>besaib</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡soːp</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>t͡ʃut͡ʃ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>ɡuːɲ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" ph="p a &#x261;">paɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" ph="p a &#x261;">paɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number">paɡ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xup</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&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;paɡ&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;zɔit͡s&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xup&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zeːs paɡ zɔit͡sen xup</p>
+  <p>dzees pag zoitzen khup</p>
+  <il>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>paɡ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>zɔit͡s</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>xup</o>
+      <g>PRES.indicative.active</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 nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="neut"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="neut" ph="t&#x361;&#x283; a k">t͡ʃak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc" ph="t&#x361;s &#x254;i t">t͡sɔit</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="s &#x254;i r">sɔir</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="neut" ph="t&#x361;&#x283; a k">t͡ʃak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc" ph="t&#x361;s &#x254;i t">t͡sɔit</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="s &#x254;i r">sɔir</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="neut">t͡ʃak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc">t͡sɔit</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">sɔir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sɔit&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɔir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃakam t͡sɔitam sɔir</p>
+  <p>chakam tzoitam soir</p>
+  <il>
+    <w>
+      <o>t͡ʃak</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡sɔit</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sɔir</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="neut"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="neut" ph="t&#x361;&#x283; ai m">t͡ʃaim</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc" ph="s i q a&#x2D0; t&#x361;&#x283;">siqaːt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="d&#x361;&#x292; u &#x272;">d͡ʒuɲ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="neut" ph="t&#x361;&#x283; ai m">t͡ʃaim</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc" ph="s i q a&#x2D0; t&#x361;&#x283;">siqaːt͡ʃ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="d&#x361;&#x292; u &#x272;">d͡ʒuɲ</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="neut">t͡ʃaim</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc">siqaːt͡ʃ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">d͡ʒuɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaim&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;siqaːt͡ʃ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒuɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaimam siqaːt͡ʃam d͡ʒuɲ</p>
+  <p>chaimam siqaacham juñ</p>
+  <il>
+    <w>
+      <o>t͡ʃaim</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>siqaːt͡ʃ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡ʒuɲ</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

addaffixes:

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

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
-    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" case="LOC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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" gender="masc" def="neither" locus="number" case="LOC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" case="LOC" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; u &#x261; o q">ɲuɡoq</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" case="LOC" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="&#x272; u &#x261; o q">ɲuɡoq</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" case="LOC">d͡zeːs</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ɲuɡoq</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&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;ɲuɡoq&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>d͡zeːs ɲuɡoq</p>
+  <p>dzees ñugoq</p>
+  <il>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɲuɡoq</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="neut">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">
-      <word posp="verb" gloss="kill"/>
+      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" ph="d&#x361;&#x292; a &#x272; ai r">d͡ʒaɲair</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="&#x261; i &#x261;">ɡiɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut" ph="d&#x361;&#x292; a &#x272; ai r">d͡ʒaɲair</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc" ph="&#x261; i &#x261;">ɡiɡ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="neut">d͡ʒaɲair</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" obj="3.sing.masc">ɡiɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒaɲair&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲibaq&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiɡ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡ʒaɲairam ɲibaqam ɡiɡen d͡ʒiɡ</p>
+  <p>jañairam ñibaqam gigen jig</p>
+  <il>
+    <w>
+      <o>d͡ʒaɲair</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲibaq</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡiɡ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="fem">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="fem">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lion/noun/case/obligatory
Got NOM
About to call getSlotValue for dog/noun/case/obligatory
Got NOM
About to call getSlotValue for daughter/noun/case/obligatory
Got NOM
About to call getSlotValue for hunter/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/negation.question/obligatory
Got POS.not.Q
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="fem">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="fem">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="masc">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
+      <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="fem">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="masc">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="fem">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" gender="masc">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem" ph="k o d&#x361;&#x292; a k">kod͡ʒak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="r e b">reb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="s i s">sis</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="z a k">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem" ph="k o d&#x361;&#x292; a k">kod͡ʒak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="r e b">reb</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="s i s">sis</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="z a k">zak</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="fem">kod͡ʒak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc">reb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem">sis</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="masc">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kod͡ʒak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;reb&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sis&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲibaq&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zak&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kod͡ʒakam rebam sisam ɲibaqam zaken d͡ʒiɡ</p>
+  <p>kojakam rebam sisam ñibaqam zaken jig</p>
+  <il>
+    <w>
+      <o>kod͡ʒak</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>reb</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sis</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲibaq</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>zak</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" ph="z i b &#x259;&#x303;&#x2D0; r">zibə̃ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" ph="s i r">sir</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; a n">ɡan</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" ph="p a &#x261;">paɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc" ph="z i b &#x259;&#x303;&#x2D0; r">zibə̃ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc" ph="s i r">sir</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; a n">ɡan</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" ph="p a &#x261;">paɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="masc">zibə̃ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="masc">sir</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc">ɡan</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner">paɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zibə̃ːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sir&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡan&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zibə̃ːram siram ɡanam paɡ</p>
+  <p>zibə̃ːram siram ganam pag</p>
+  <il>
+    <w>
+      <o>zibə̃ːr</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sir</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡan</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>paɡ</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc">
-      <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.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for sleep/verb/negation.question/obligatory
Got POS.not.Q
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc"/>
+      <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" ph="b e d&#x361;&#x292;">bed͡ʒ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" ph="b e d&#x361;&#x292;">bed͡ʒ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc">bed͡ʒ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xup</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaid͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bed͡ʒ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xup&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaid͡ʒam bed͡ʒen xup</p>
+  <p>kaijam bejen khup</p>
+  <il>
+    <w>
+      <o>kaid͡ʒ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bed͡ʒ</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>xup</o>
+      <g>PRES.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" ph="b e &#x261;">beɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" ph="b e &#x261;">beɡ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc">beɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaid͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;beɡ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaid͡ʒam beɡen</p>
+  <p>kaijam begen</p>
+  <il>
+    <w>
+      <o>kaid͡ʒ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>beɡ</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="d&#x361;z e b &#x254;i d&#x361;&#x292;">d͡zebɔid͡ʒ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="d&#x361;z e b &#x254;i d&#x361;&#x292;">d͡zebɔid͡ʒ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">d͡zebɔid͡ʒ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaid͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bazɔiz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zebɔid͡ʒ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaid͡ʒam bazɔizam d͡zebɔid͡ʒen</p>
+  <p>kaijam bazoizam dzeboijen</p>
+  <il>
+    <w>
+      <o>kaid͡ʒ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bazɔiz</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡zebɔid͡ʒ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="masc">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="fem">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaid͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bazɔiz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaid͡ʒam bazɔizam qiɲen d͡ʒiɡ</p>
+  <p>kaijam bazoizam qiñen jig</p>
+  <il>
+    <w>
+      <o>kaid͡ʒ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bazɔiz</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qiɲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" role="obj" tr="rheme" ph="d&#x361;&#x292; a &#x272; ai r">d͡ʒaɲair</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="conj" gloss="and" ph="&#x272; &#x259;#&#x2D0; n">ɲə#ːn</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" ph="q i k i q">qikiq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="conj" gloss="and" ph="&#x272; &#x259;#&#x2D0; n">ɲə#ːn</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" ph="k o d&#x361;&#x292; a k">kod͡ʒak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.fem" ph="&#x261; i &#x261;">ɡiɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="&#x272; i b a q">ɲibaq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" role="obj" tr="rheme" ph="d&#x361;&#x292; a &#x272; ai r">d͡ʒaɲair</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="conj" gloss="and" ph="&#x272; &#x259;#&#x2D0; n">ɲə#ːn</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" ph="q i k i q">qikiq</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="conj" gloss="and" ph="&#x272; &#x259;#&#x2D0; n">ɲə#ːn</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" ph="k o d&#x361;&#x292; a k">kod͡ʒak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.fem" ph="&#x261; i &#x261;">ɡiɡ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">ɲibaq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="neut" role="obj" tr="rheme">d͡ʒaɲair</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="conj" gloss="and">ɲə#ːn</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme">qikiq</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="conj" gloss="and">ɲə#ːn</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme">kod͡ʒak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.fem">ɡiɡ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲibaq&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒaɲair&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲə̃ːn&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;qikiq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tiger&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲə̃ːn&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;kod͡ʒak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiɡ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲibaqam d͡ʒaɲairam ɲə̃ːn qikiqam ɲə̃ːn kod͡ʒakam ɡiɡen d͡ʒiɡ</p>
+  <p>ñibaqam jañairam ñẽẽn qikiqam ñẽẽn kojakam gigen jig</p>
+  <il>
+    <w>
+      <o>ɲibaq</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡ʒaɲair</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲə̃ːn</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>qikiq</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɲə̃ːn</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>kod͡ʒak</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡiɡ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc" ph="k ai d&#x361;&#x292;">kaid͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="masc">kaid͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&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;kaid͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xed͡zit͡ʃ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zeːs kaid͡ʒam xed͡zit͡ʃen d͡ʒiɡ</p>
+  <p>dzees kaijam khedzichen jig</p>
+  <il>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kaid͡ʒ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xed͡zit͡ʃ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="fem" ph="b a z &#x254;i z">bazɔiz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="fem">bazɔiz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bazɔiz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xed͡zit͡ʃ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡə̃ːɡ bazɔizam qiɲen d͡ʒiɡ d͡zeːs ɡə̃ːɡ xed͡zit͡ʃen d͡ʒiɡ t͡sir</p>
+  <p>gẽẽg bazoizam qiñen jig dzees gẽẽg khedzichen jig tzir</p>
+  <il>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>bazɔiz</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qiɲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>xed͡zit͡ʃ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="t&#x361;&#x283; a d o d&#x361;z">t͡ʃadod͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="z a k">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="t&#x361;&#x283; a d o d&#x361;z">t͡ʃadod͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="z a k">zak</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number">ɡer</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem">t͡ʃadod͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number">ɡer</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃadod͡z&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zak&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&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;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&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;d͡zeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xed͡zit͡ʃ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡer t͡ʃadod͡zam zaken d͡ʒiɡ ɡə̃ːɡ ɡer qiɲen d͡ʒiɡ t͡sir d͡zeːs ɡə̃ːɡ xed͡zit͡ʃen d͡ʒiɡ t͡sir</p>
+  <p>ger chadodzam zaken jig gẽẽg ger qiñen jig tzir dzees gẽẽg khedzichen jig tzir</p>
+  <il>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>t͡ʃadod͡z</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>zak</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>qiɲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>xed͡zit͡ʃ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</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 nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word gloss="then" posp="conj"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="r au z">rauz</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="z a k">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="r au z">rauz</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="z a k">zak</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number" ph="&#x261; e r">ɡer</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="q i &#x272;">qiɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number" ph="&#x261; &#x259;#&#x2D0; &#x261;">ɡə#ːɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc" ph="x e d&#x361;z i t&#x361;&#x283;">xed͡zit͡ʃ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word gloss="then" posp="conj" ph="t&#x361;s i r">t͡sir</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number">ɡer</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">rauz</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="subj" head="this" locus="number">ɡer</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number">ɡer</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">zak</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="subj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" role="obj" head="this" locus="number">ɡer</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">qiɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number">d͡zeːs</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" role="obj" head="this" locus="number">ɡə#ːɡ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">xed͡zit͡ʃ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word gloss="then" posp="conj">t͡sir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&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;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rauz&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zak&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&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;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡer&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&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;d͡zeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xed͡zit͡ʃ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zeːs ɡer rauzen d͡ʒiɡ ɡer ɡer zaken d͡ʒiɡ t͡sir ɡə̃ːɡ ɡer qiɲen d͡ʒiɡ t͡sir d͡zeːs ɡə̃ːɡ xed͡zit͡ʃen d͡ʒiɡ t͡sir</p>
+  <p>dzees ger rauzen jig ger ger zaken jig tzir gẽẽg ger qiñen jig tzir dzees gẽẽg khedzichen jig tzir</p>
+  <il>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>rauz</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>zak</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>ɡer</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>qiɲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡə̃ːɡ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>xed͡zit͡ʃ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t͡sir</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 nominalise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="owner" number="sing" gender="neut">
      <subs>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="fem">
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
        </vp>
      </subs>
    </np>
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="masc">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="masc"/>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" gender="masc">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc">
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="d&#x361;z a d&#x361;&#x292;">d͡zad͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem" ph="r au &#x272;">rauɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="masc" ph="&#x261; i t &#x259;&#x303;&#x2D0; r">ɡitə̃ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc" ph="&#x261; o s i p">ɡosip</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="d&#x361;z a d&#x361;&#x292;">d͡zad͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="m &#x259;# &#x261; i&#x2D0; b">mə#ɡiːb</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem" ph="r au &#x272;">rauɲ</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="masc" ph="&#x261; i t &#x259;&#x303;&#x2D0; r">ɡitə̃ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc" ph="&#x261; o s i p">ɡosip</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem">d͡zad͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem">mə#ɡiːb</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.fem" obj="3.sing.fem">rauɲ</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="masc">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="masc">ɡitə̃ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.neut" indobj="3.sing.masc">ɡosip</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zad͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mə̃ɡiːb&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rauɲ&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biːd͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡitə̃ːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡosip&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zad͡ʒam mə̃ɡiːbam rauɲen d͡ʒiɡ biːd͡ʒam ɡitə̃ːram ɡosipen d͡ʒiɡ</p>
+  <p>dzajam mẽgiibam rauñen jig biijam gitə̃ːram gosipen jig</p>
+  <il>
+    <w>
+      <o>d͡zad͡ʒ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>mə̃ɡiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>rauɲ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>biːd͡ʒ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡitə̃ːr</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡosip</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</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 nominalise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for girl/noun/case/obligatory
Got NOM
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/negation.question/obligatory
Got POS.not.Q
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for tell/verb/negation.question/obligatory
Got POS.not.Q
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np role="owner" number="sing" gender="neut" person="2">
      <subs>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
+          <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
        </vp>
      </subs>
    </np>
    <np number="sing" def="neither" role="owned" locus="number" person="1excl" gender="neut" tr="rheme">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="owned" locus="number" tr="rheme"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
+      <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="owned" locus="number" tr="rheme"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="d&#x361;z a d&#x361;&#x292;">d͡zad͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" ph="p a &#x261;">paɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="owned" locus="number" tr="rheme" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="&#x261; i&#x2D0; z">ɡiːz</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="b i&#x2D0; d&#x361;&#x292;">biːd͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="d&#x361;z a d&#x361;&#x292;">d͡zad͡ʒ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a m">am</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" ph="p a &#x261;">paɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="z &#x254;i t&#x361;s">zɔit͡s</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x u p">xup</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="owned" locus="number" tr="rheme" ph="d&#x361;z e&#x2D0; s">d͡zeːs</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="&#x261; i&#x2D0; z">ɡiːz</word>
-    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q" attach="suffix" ph="e n">en</thingy>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="d&#x361;&#x292; i &#x261;">d͡ʒiɡ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">biːd͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">d͡zad͡ʒ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">am</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number">paɡ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">zɔit͡s</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xup</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="owned" locus="number" tr="rheme">d͡zeːs</word>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">ɡiːz</word>
+    <thingy type="verbnegation.question" function="suffix" gloss="POS.not.Q">en</thingy>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">d͡ʒiɡ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biːd͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zad͡ʒ&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;-am&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paɡ&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;zɔit͡s&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xup&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zeːs&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;ɡiːz&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>biːd͡ʒam d͡zad͡ʒam paɡ zɔit͡sen xup d͡zeːs ɡiːzen d͡ʒiɡ</p>
+  <p>biijam dzajam pag zoitzen khup dzees giizen jig</p>
+  <il>
+    <w>
+      <o>biːd͡ʒ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡zad͡ʒ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-am</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>paɡ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>zɔit͡s</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>xup</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>d͡zeːs</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡiːz</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>POS.not.Q</g>
+    </w>
+    <w>
+      <o>d͡ʒiɡ</o>
+      <g>PAST.indicative.active</g>
+    </w>
+  </il>
</example>