initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

No change.

module wordorder:

No change.

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" def="def" locus="number" case="ACT">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" tr="rheme" locus="number" case="STA">
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" def="def" locus="number"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" case="STA"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" case="STA"/>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" case="STA"/>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" ph="l au &#x2C8; k">lauˈk</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="j u q y&#x2D0; &#x2C8; s">juqyːˈs</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" ph="f &#x25B;&#x2D0; &#x2C8; t&#x361;s">fɛːˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="d&#x361;&#x292; u &#x2C8; t&#x361;s">d͡ʒuˈt͡s</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="s+q au &#x2C8; f">sqauˈf</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="b &#xF8;&#x2D0; &#x2C8; &#x292;">bøːˈʒ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" ph="l au &#x2C8; k">lauˈk</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="j u q y&#x2D0; &#x2C8; s">juqyːˈs</word>
-    <word posp="noun" gloss="knife" def="def" locus="number" ph="f &#x25B;&#x2D0; &#x2C8; t&#x361;s">fɛːˈt͡s</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="d&#x361;&#x292; u &#x2C8; t&#x361;s">d͡ʒuˈt͡s</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="s+q au &#x2C8; f">sqauˈf</word>
-    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" case="STA" ph="b &#xF8;&#x2D0; &#x2C8; &#x292;">bøːˈʒ</word>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT">lauˈk</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">juqyːˈs</word>
+    <word posp="noun" gloss="knife" def="def" locus="number">fɛːˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" tr="rheme" locus="number" case="STA">d͡ʒuˈt͡s</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" tr="rheme" locus="number" case="STA">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" tr="rheme" locus="number" case="STA">sqauˈf</word>
+    <word posp="det" gloss="yon" role="obj" def="def" tr="rheme" locus="number" case="STA">bøːˈʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈlauk&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juˈqyːs&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;ˈfɛːt͡s&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzɡow&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒut͡s&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;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsqauf&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;ˈbøːʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈlaukim juˈqyːs ˈfɛːt͡suj ˈzɡow puq ˈd͡ʒut͡s skaˈnequj ˈsqauf ˈbøːʒ</p>
+  <p>лаўким јуԟүүс фээцуј зґоў пуԟ џуц сканеԟуј сԟаўф бөөж</p>
+  <il>
+    <w>
+      <o>ˈlauk</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>juˈqyːs</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈfɛːt͡s</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈzɡow</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒut͡s</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈsqauf</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈbøːʒ</o>
+      <g>yon</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module 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>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="love"/>
+    </vp>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3">t͡syˈɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡syɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡syɡ</p>
+  <p>цүґ</p>
+  <il>
+    <w>
+      <o>ˈt͡syɡ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="rheme" role="subj" locus="number" case="ACT"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" gloss="3" def="def" tr="rheme" role="subj" locus="number" case="ACT" ph="p &#x254; &#x2C8; n">pɔˈn</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" gloss="3" def="def" tr="rheme" role="subj" locus="number" case="ACT" ph="p &#x254; &#x2C8; n">pɔˈn</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" gloss="3" def="def" tr="rheme" role="subj" locus="number" case="ACT">pɔˈn</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3">t͡syˈɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpɔn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡syɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpɔn ˈt͡syɡ</p>
+  <p>пон цүґ</p>
+  <il>
+    <w>
+      <o>ˈpɔn</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ˈt͡syɡ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" gloss="3" def="def" tr="rheme" role="obj" locus="number" case="STA"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" gloss="3" def="def" tr="rheme" role="obj" locus="number" case="STA" ph="p &#x254; &#x2C8; n">pɔˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" gloss="3" def="def" tr="rheme" role="obj" locus="number" case="STA" ph="p &#x254; &#x2C8; n">pɔˈn</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3">t͡syˈɡ</word>
+    <word posp="pron" gloss="3" def="def" tr="rheme" role="obj" locus="number" case="STA">pɔˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡syɡ&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;ˈpɔn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡syɡ ˈpɔn</p>
+  <p>цүґ пон</p>
+  <il>
+    <w>
+      <o>ˈt͡syɡ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈpɔn</o>
+      <g>3</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Jakoh hates Foofan.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="Jakoh" def="def" tr="theme" role="subj" locus="number" case="ACT" propernoun="yes" ph="d&#x361;&#x292; a k o &#x2C8; h">d͡ʒakoˈh</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="s u s i &#x2C8; &#x14B;">susiˈŋ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Foofan" def="def" tr="rheme" role="obj" locus="number" case="STA" propernoun="yes" ph="f y f a &#x2C8; n">fyfaˈn</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Jakoh hates Foofan.">
  <flat>
-    <word posp="noun" gloss="Jakoh" def="def" tr="theme" role="subj" locus="number" case="ACT" propernoun="yes" ph="d&#x361;&#x292; a k o &#x2C8; h">d͡ʒakoˈh</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3" ph="s u s i &#x2C8; &#x14B;">susiˈŋ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Foofan" def="def" tr="rheme" role="obj" locus="number" case="STA" propernoun="yes" ph="f y f a &#x2C8; n">fyfaˈn</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="Jakoh" def="def" tr="theme" role="subj" locus="number" case="ACT" propernoun="yes">d͡ʒakoˈh</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" obj="3">susiˈŋ</word>
+    <word posp="noun" gloss="Foofan" def="def" tr="rheme" role="obj" locus="number" case="STA" propernoun="yes">fyfaˈn</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒaˈkoh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Jakoh&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suˈsiŋ&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;fyˈfan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Foofan&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡ʒaˈkohim suˈsiŋ fyˈfanuj</p>
+  <p>Џакогим сусиӈ Фүфануј</p>
+  <il>
+    <w>
+      <o>d͡ʒaˈkoh</o>
+      <g>Jakoh</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>suˈsiŋ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>fyˈfan</o>
+      <g>Foofan</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" case="GEN">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡiːd͡z&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziˈpot&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡiːd͡zit ziˈpotuj</p>
+  <p>ґииѕит зипотуј</p>
+  <il>
+    <w>
+      <o>ˈɡiːd͡z</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ziˈpot</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="p &#x254; &#x2C8; n">pɔˈn</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN" ph="p &#x254; &#x2C8; n">pɔˈn</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="pron" gloss="3" def="def" locus="number" role="owner" case="GEN">pɔˈn</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpɔn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziˈpot&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpɔn ziˈpotuj</p>
+  <p>пон зипотуј</p>
+  <il>
+    <w>
+      <o>ˈpɔn</o>
+      <g>3</g>
+    </w>
+    <w>
+      <o>ziˈpot</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" role="owner" case="GEN">tiːˈm</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" case="STA">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtiːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziˈpot&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtiːm ziˈpotuj</p>
+  <p>тиим зипотуј</p>
+  <il>
+    <w>
+      <o>ˈtiːm</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ziˈpot</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="w a t e &#x2C8; p">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="ACT" ph="w a &#x2C8; t&#x361;s">waˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="k a n &#x25B; &#x2C8; &#x292;">kanɛˈʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="z a &#x292; a &#x2C8; d&#x361;z">zaʒaˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="STA" ph="q &#x25B; &#x2C8; z">qɛˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="w a t e &#x2C8; p">wateˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="ACT" ph="w a &#x2C8; t&#x361;s">waˈt͡s</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="k a n &#x25B; &#x2C8; &#x292;">kanɛˈʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN" ph="z a &#x292; a &#x2C8; d&#x361;z">zaʒaˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="STA" ph="q &#x25B; &#x2C8; z">qɛˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="ACT">waˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">kanɛˈʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN">vøˈɡ</word>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" case="GEN">zaʒaˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="STA">qɛˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈtep&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwat͡s&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈnɛʒ&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvøɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zaˈʒad͡z&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqɛz&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>waˈtepit ˈwat͡sim kaˈnɛʒ puq ˈvøɡ zaˈʒad͡zit ˈqɛzuj</p>
+  <p>ўатепит ўацим канэж пуԟ вөґ зажаѕит ԟэзуј</p>
+  <il>
+    <w>
+      <o>waˈtep</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈwat͡s</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>kaˈnɛʒ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈvøɡ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>zaˈʒad͡z</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈqɛz</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</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 embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" ph="s u j &#x254; &#x2C8; z">sujɔˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" ph="s u j &#x254; &#x2C8; z">sujɔˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA">sujɔˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suˈjɔz&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>suˈjɔzuj</p>
+  <p>сујозуј</p>
+  <il>
+    <w>
+      <o>suˈjɔz</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</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 embed:

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

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

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

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got STA
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np tr="rheme" role="obj" locus="number" case="STA">
          <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA"/>
          <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA"/>
+          <thingy type="nouncase" function="suffix" gloss="STA"/>
        </np>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np tr="rheme" role="obj" locus="number" case="STA">
    <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA"/>
    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
-        </np>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA"/>
-    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="n &#x153; &#x2C8; d&#x361;z">nœˈd͡z</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="v u &#x2C8; w">vuˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA" ph="t&#x361;s &#x25B; &#x2C8; m">t͡sɛˈm</word>
+    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA" ph="s u j &#x254; &#x2C8; z">sujɔˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="n &#x153; &#x2C8; d&#x361;z">nœˈd͡z</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="v u &#x2C8; w">vuˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA" ph="t&#x361;s &#x25B; &#x2C8; m">t͡sɛˈm</word>
-    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA" ph="s u j &#x254; &#x2C8; z">sujɔˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">nœˈd͡z</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">vuˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="adj" gloss="little" tr="rheme" role="obj" locus="number" case="STA">t͡sɛˈm</word>
+    <word posp="noun" gloss="lamb" tr="rheme" role="obj" locus="number" case="STA">sujɔˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnœd͡z&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvuw&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡sɛm&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;suˈjɔz&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnœd͡z puq ˈvuw puq ˈt͡sɛm suˈjɔzuj</p>
+  <p>нӧѕ пуԟ вуў пуԟ цэм сујозуј</p>
+  <il>
+    <w>
+      <o>ˈnœd͡z</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈvuw</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈt͡sɛm</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>suˈjɔz</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module 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>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="love"/>
+    </vp>
    <np number="sing" def="neither" role="obj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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 def="neither" role="subj" locus="number" case="ACT">
-      <word person="1excl" posp="pron"/>
+      <word person="1excl" posp="pron" gloss="1excl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="neither" role="obj" locus="number" case="STA">
-      <word person="2" posp="pron"/>
+      <word person="2" posp="pron" gloss="2"/>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl" obj="2">t͡syˈɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡syɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡syɡ</p>
+  <p>цүґ</p>
+  <il>
+    <w>
+      <o>ˈt͡syɡ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" locus="number"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="z a&#x2D0; &#x2C8; &#x292;">zaːˈʒ</word>
+    <word posp="noun" gloss="table" def="def" locus="number" ph="d u &#x2C8; &#x14B;">duˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="z a&#x2D0; &#x2C8; &#x292;">zaːˈʒ</word>
-    <word posp="noun" gloss="table" def="def" locus="number" ph="d u &#x2C8; &#x14B;">duˈŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">zaːˈʒ</word>
+    <word posp="noun" gloss="table" def="def" locus="number">duˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzaːʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduŋ&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzaːʒ ˈduŋuj</p>
+  <p>зааж дуӈуј</p>
+  <il>
+    <w>
+      <o>ˈzaːʒ</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈduŋ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" locus="number"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="k &#x25B; &#x2C8; w">kɛˈw</word>
+    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x292; a s u &#x2C8; d&#x361;z">ʒasuˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="k &#x25B; &#x2C8; w">kɛˈw</word>
-    <word posp="noun" gloss="box" def="def" locus="number" ph="&#x292; a s u &#x2C8; d&#x361;z">ʒasuˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">kɛˈw</word>
+    <word posp="noun" gloss="box" def="def" locus="number">ʒasuˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɛw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒaˈsud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkɛw ʒaˈsud͡zuj</p>
+  <p>кэў жасуѕуј</p>
+  <il>
+    <w>
+      <o>ˈkɛw</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>ʒaˈsud͡z</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="j u q y&#x2D0; &#x2C8; s">juqyːˈs</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="j u q y&#x2D0; &#x2C8; s">juqyːˈs</word>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
+    <word gloss="COMIT" posp="pp" role="comitative">juqyːˈs</word>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" locus="number">tiːˈm</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juˈqyːs&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;ˈtiːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>juˈqyːs ˈtiːm</p>
+  <p>јуԟүүс тиим</p>
+  <il>
+    <w>
+      <o>juˈqyːs</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈtiːm</o>
+      <g>1excl</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" ph="&#x292;+d u t&#x361;s e &#x2C8; t&#x361;s">ʒdut͡seˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t &#x254;&#x2D0; &#x2C8; j">tɔːˈj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" ph="w a t e &#x2C8; p">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" ph="&#x292;+d u t&#x361;s e &#x2C8; t&#x361;s">ʒdut͡seˈt͡s</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t &#x254;&#x2D0; &#x2C8; j">tɔːˈj</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" ph="w a t e &#x2C8; p">wateˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT">ʒdut͡seˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">tɔːˈj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒduˈt͡set͡s&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔːj&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈtep&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒduˈt͡set͡sim ˈtɔːj puq waˈtepuj</p>
+  <p>ждуцецим тоој пуԟ ўатепуј</p>
+  <il>
+    <w>
+      <o>ʒduˈt͡set͡s</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈtɔːj</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>waˈtep</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" ph="t u k &#xF8; &#x2C8; q">tukøˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="w a t e &#x2C8; p">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="w a &#x2C8; t&#x361;s">waˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" case="STA" ph="&#x261; a &#x2C8; s">ɡaˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</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" def="def" role="subj" locus="number" case="ACT" ph="t u k &#xF8; &#x2C8; q">tukøˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN" ph="w a t e &#x2C8; p">wateˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN" ph="w a &#x2C8; t&#x361;s">waˈt͡s</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" case="STA" ph="&#x261; a &#x2C8; s">ɡaˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT">tukøˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" case="GEN">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" case="GEN">waˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" case="STA">ɡaˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuˈkøq&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃøk&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈtep&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwat͡s&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡas&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tuˈkøqim ˈt͡ʃøk puq waˈtepit ˈwat͡sit ˈɡasuj</p>
+  <p>тукөԟим чөк пуԟ ўатепит ўацит ґасуј</p>
+  <il>
+    <w>
+      <o>tuˈkøq</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃøk</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>waˈtep</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈwat͡s</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈɡas</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="q &#x25B; &#x2C8; z">qɛˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="f e&#x2D0; &#x2C8; m">feːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" case="STA" ph="b u&#x2D0; k">buːk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN" ph="q &#x25B; &#x2C8; z">qɛˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN" ph="f e&#x2D0; &#x2C8; m">feːˈm</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i t">it</thingy>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" case="STA" ph="b u&#x2D0; k">buːk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word person="2" posp="pron" gloss="2" def="neither" locus="number" role="owner" case="GEN">vøˈɡ</word>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" case="GEN">qɛˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" case="GEN">feːˈm</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">it</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" case="STA">buːk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvøɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqɛz&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfeːm&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;-it&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buːk&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈvøɡ ˈqɛzit ˈfeːmit buːkuj</p>
+  <p>вөґ ԟэзит феемит буукуј</p>
+  <il>
+    <w>
+      <o>ˈvøɡ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>ˈqɛz</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈfeːm</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-it</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>buːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA">
+    <np def="def" role="subj" tr="theme" locus="number" case="STA">
      <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>

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 def="def" role="subj" tr="theme" locus="number" case="STA">
      <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">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="v ai &#x2C8; d">vaiˈd</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3" ph="v ai &#x2C8; d">vaiˈd</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3">vaiˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvaid&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈjaud͡zuj ˈvaid</p>
+  <p>јаўѕуј вайд</p>
+  <il>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈvaid</o>
+      <g>sleep</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT">
+    <np def="def" role="subj" tr="theme" locus="number" case="ACT">
      <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>

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 def="def" role="subj" tr="theme" locus="number" case="ACT">
      <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">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="v a &#x2C8; t">vaˈt</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" ph="v a &#x2C8; t">vaˈt</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3">vaˈt</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈvat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈjaud͡zim ˈvat</p>
+  <p>јаўѕим ват</p>
+  <il>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈvat</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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>
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+      <word posp="verb" gloss="chase"/>
+    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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 def="def" role="subj" tr="theme" locus="number" case="ACT">
      <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" obj="3">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np def="def" role="obj" tr="rheme" locus="number" case="STA">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="s y z y &#x2C8; p">syzyˈp</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3" ph="s y z y &#x2C8; p">syzyˈp</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3" obj="3">syzyˈp</word>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;syˈzyp&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;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈjaud͡zim syˈzyp skaˈnequj</p>
+  <p>јаўѕим сүзүп сканеԟуј</p>
+  <il>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>syˈzyp</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzɡow&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈjaud͡zim ˈzɡow puq skaˈnequj</p>
+  <p>јаўѕим зґоў пуԟ сканеԟуј</p>
+  <il>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈzɡow</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

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

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT" ph="w a t e &#x2C8; p">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t &#x254;&#x2D0; &#x2C8; j">tɔːˈj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="&#x292;+d u t&#x361;s e &#x2C8; t&#x361;s">ʒdut͡seˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="conj" gloss="and" ph="s+q au &#x2C8; t&#x361;s">sqauˈt͡s</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="&#x261; i &#x261; o &#x2C8; z">ɡiɡoˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="conj" gloss="and" ph="s+q au &#x2C8; t&#x361;s">sqauˈt͡s</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="t u k &#xF8; &#x2C8; q">tukøˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</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" tr="theme" role="subj" locus="number" case="ACT" ph="w a t e &#x2C8; p">wateˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3" ph="t &#x254;&#x2D0; &#x2C8; j">tɔːˈj</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="&#x292;+d u t&#x361;s e &#x2C8; t&#x361;s">ʒdut͡seˈt͡s</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="conj" gloss="and" ph="s+q au &#x2C8; t&#x361;s">sqauˈt͡s</word>
-    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="&#x261; i &#x261; o &#x2C8; z">ɡiɡoˈz</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="conj" gloss="and" ph="s+q au &#x2C8; t&#x361;s">sqauˈt͡s</word>
-    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" case="STA" ph="t u k &#xF8; &#x2C8; q">tukøˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT">wateˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" obj="3">tɔːˈj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" role="obj" tr="rheme" case="STA">ʒdut͡seˈt͡s</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="conj" gloss="and">sqauˈt͡s</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" role="obj" tr="rheme" case="STA">ɡiɡoˈz</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="conj" gloss="and">sqauˈt͡s</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" role="obj" tr="rheme" case="STA">tukøˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈtep&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔːj&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒduˈt͡set͡s&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsqaut͡s&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;ɡiˈɡoz&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsqaut͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuˈkøq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>waˈtepim ˈtɔːj puq ʒduˈt͡set͡suj ˈsqaut͡s ɡiˈɡozuj ˈsqaut͡s tuˈkøquj</p>
+  <p>ўатепим тоој пуԟ ждуцецуј сԟаўц ґиґозуј сԟаўц тукөԟуј</p>
+  <il>
+    <w>
+      <o>waˈtep</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈtɔːj</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʒduˈt͡set͡s</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈsqaut͡s</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ɡiˈɡoz</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈsqaut͡s</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>tuˈkøq</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈsiːx&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miˈsiːx puq ˈjaud͡zuj</p>
+  <p>мисиих пуԟ јаўѕуј</p>
+  <il>
+    <w>
+      <o>miˈsiːx</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">
-      <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" obj="3"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" role="owned" locus="number" case="STA">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA"/>
    </np>
    <np role="owner" case="GEN">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" role="obj" locus="number" case="STA">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA"/>
        </np>
      </subs>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈsiːx&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzɡow&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miˈsiːx puq ˈjaud͡zuj ˈzɡow puq skaˈnequj</p>
+  <p>мисиих пуԟ јаўѕуј зґоў пуԟ сканеԟуј</p>
+  <il>
+    <w>
+      <o>miˈsiːx</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈzɡow</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" ph="s a k &#x254;&#x2D0; &#x2C8; p&#x361;f">sakɔːˈp͡f</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" ph="s a k &#x254;&#x2D0; &#x2C8; p&#x361;f">sakɔːˈp͡f</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="3">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA">sakɔːˈp͡f</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈsiːx&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzɡow&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃøk&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saˈkɔːp͡f&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miˈsiːx puq ˈjaud͡zuj ˈzɡow puq skaˈnequj ˈt͡ʃøk puq saˈkɔːp͡fuj</p>
+  <p>мисиих пуԟ јаўѕуј зґоў пуԟ сканеԟуј чөк пуԟ сакоопфуј</p>
+  <il>
+    <w>
+      <o>miˈsiːx</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈzɡow</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃøk</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>saˈkɔːp͡f</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module sentenceconnectors:

No change.

module nominalise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" person="1excl"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" person="1excl"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" case="STA"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="1excl" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" person="1excl" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" person="1excl" ph="s+k a n e &#x2C8; q">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" case="STA" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="&#x261; e &#x2C8; d&#x361;z">ɡeˈd͡z</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" ph="s a k &#x254;&#x2D0; &#x2C8; p&#x361;f">sakɔːˈp͡f</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="1excl" ph="m i s i&#x2D0; &#x2C8; x">misiːˈx</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" person="1excl" ph="j au &#x2C8; d&#x361;z">jauˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="z+&#x261; o &#x2C8; w">zɡoˈw</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" person="1excl" ph="s+k a n e &#x2C8; q">skaneˈq</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="t&#x361;&#x283; &#xF8; &#x2C8; k">t͡ʃøˈk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" case="STA" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3" ph="&#x261; e &#x2C8; d&#x361;z">ɡeˈd͡z</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" ph="s a k &#x254;&#x2D0; &#x2C8; p&#x361;f">sakɔːˈp͡f</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl" obj="1excl">misiːˈx</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" case="STA" person="1excl">jauˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">zɡoˈw</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" case="STA" person="1excl">skaneˈq</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">t͡ʃøˈk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" case="STA">tiːˈm</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3">ɡeˈd͡z</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA">sakɔːˈp͡f</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miˈsiːx&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjaud͡z&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzɡow&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skaˈneq&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃøk&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtiːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡed͡z&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saˈkɔːp͡f&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miˈsiːx puq ˈjaud͡zuj ˈzɡow puq skaˈnequj ˈt͡ʃøk puq ˈtiːm ˈɡed͡z puq saˈkɔːp͡fuj</p>
+  <p>мисиих пуԟ јаўѕуј зґоў пуԟ сканеԟуј чөк пуԟ тиим ґеѕ пуԟ сакоопфуј</p>
+  <il>
+    <w>
+      <o>miˈsiːx</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈjaud͡z</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈzɡow</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>skaˈneq</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃøk</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈtiːm</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ˈɡed͡z</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>saˈkɔːp͡f</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</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 embed:

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>
          </subs>
        </np>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="surprise"/>
+    </vp>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" case="ACT" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="s+q i &#x2C8; d">sqiˈd</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="s+k &#x25B;&#x2D0; &#x2C8; x">skɛːˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="t&#x361;&#x283; a q i &#x2C8; d&#x361;&#x292;">t͡ʃaqiˈd͡ʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" ph="d i t&#x361;&#x283; e&#x2D0; l">dit͡ʃeːl</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" case="ACT" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3" ph="s+q i &#x2C8; d">sqiˈd</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="s+k &#x25B;&#x2D0; &#x2C8; x">skɛːˈx</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" ph="z i p o &#x2C8; t">zipoˈt</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="u j">uj</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" ph="t&#x361;&#x283; a q i &#x2C8; d&#x361;&#x292;">t͡ʃaqiˈd͡ʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" ph="d i t&#x361;&#x283; e&#x2D0; l">dit͡ʃeːl</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" case="ACT">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3" obj="3">sqiˈd</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT">skɛːˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">yk</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA">zipoˈt</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">uj</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3">t͡ʃaqiˈd͡ʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT">dit͡ʃeːl</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">yk</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡiːd͡z&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsqid&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈskɛːx&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;-yk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziˈpot&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaˈqid͡ʒ&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dit͡ʃeːl&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;-yk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡiːd͡zim ˈsqid puq ˈskɛːxyk ziˈpotuj t͡ʃaˈqid͡ʒ puq dit͡ʃeːlyk</p>
+  <p>ґииѕим сԟид пуԟ скээхүк зипотуј чаԟиџ пуԟ дичеелүк</p>
+  <il>
+    <w>
+      <o>ˈɡiːd͡z</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈsqid</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈskɛːx</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-yk</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ziˈpot</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>t͡ʃaˈqid͡ʒ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dit͡ʃeːl</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-yk</o>
+      <g>DAT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

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

module casemarking:

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

module markowner:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" case="STA">
      <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">
+        <np role="owner" number="sing" case="GEN">
          <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" case="STA">
              <word person="2" number="sing" posp="pron"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl">
-      <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" indobj="3" obj="1excl"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT"/>
    </np>
    <np def="neither" role="owned" locus="number" person="1excl" tr="rheme" case="STA">
-      <word person="1excl" posp="pron" gloss="1excl"/>
+      <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" case="STA"/>
    </np>
    <np role="owner" case="GEN" person="2">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">
-          <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"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="neither" role="obj" locus="number" case="STA" person="2">
-          <word person="2" posp="pron" gloss="2"/>
+          <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" case="STA"/>
        </np>
      </subs>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" case="STA"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" case="STA"/>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="f &#xF8; &#x2C8; &#x292;">føˈʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" ph="s+k &#x25B;&#x2D0; &#x2C8; x">skɛːˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" case="STA" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" case="STA" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" ph="&#x261; i&#x2D0; &#x2C8; d&#x361;z">ɡiːˈd͡z</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="i m">im</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl" ph="f &#xF8; &#x2C8; &#x292;">føˈʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="p u q">puq</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" ph="s+k &#x25B;&#x2D0; &#x2C8; x">skɛːˈx</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="y k">yk</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" case="STA" ph="t i&#x2D0; &#x2C8; m">tiːˈm</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="t&#x361;s y &#x2C8; &#x261;">t͡syˈɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" case="STA" ph="v &#xF8; &#x2C8; &#x261;">vøˈɡ</word>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT">ɡiːˈd͡z</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">im</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3" indobj="3" obj="1excl">føˈʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">puq</thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT">skɛːˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">yk</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" def="neither" role="owned" locus="number" tr="rheme" case="STA">tiːˈm</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">t͡syˈɡ</word>
+    <word person="2" posp="pron" gloss="2" def="neither" role="obj" locus="number" case="STA">vøˈɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡiːd͡z&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;-im&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈføʒ&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;puq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈskɛːx&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;-yk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtiːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡syɡ&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;ˈvøɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡiːd͡zim ˈføʒ puq ˈskɛːxyk ˈtiːm ˈt͡syɡ ˈvøɡ</p>
+  <p>ґииѕим фөж пуԟ скээхүк тиим цүґ вөґ</p>
+  <il>
+    <w>
+      <o>ˈɡiːd͡z</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-im</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈføʒ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>puq</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈskɛːx</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-yk</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ˈtiːm</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ˈt͡syɡ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈvøɡ</o>
+      <g>2</g>
+    </w>
+  </il>
</example>