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

<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">
      <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">
+    <np role="obj" tr="rheme">
+      <np type="owner_owned">
+        <np number="sing" def="def" role="owner">
+          <word posp="noun" gloss="blind" lexposp="adj"/>
+        </np>
+        <np role="owned" def="def" number="plur" locus="number">
          <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
+      </np>
+    </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" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
        <np role="owned" def="def" number="plur" locus="number">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="STA">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
        <np role="owned" def="def" number="plur" locus="number">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
      </np>
    </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="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">
        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="obj" tr="rheme" case="STA">
+    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
      <np type="owner_owned" gender="cl.1">
-        <np def="def" role="owner">
+        <np def="def" role="owner" possessor="no.owner">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
-        <np role="owned" def="def" locus="number" gender="cl.1">
+        <np role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
      </np>
    </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="subj" def="def" locus="number" case="ACT" gender="cl.1">
+    <np role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
-        <np def="def" locus="number" case="LOC" gender="cl.4">
+        <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
  </s>
</example>

module ngen:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
      <np type="owner_owned" gender="cl.1">
-        <np def="def" role="owner" possessor="no.owner">
-          <word posp="noun" gloss="blind" lexposp="adj"/>
-        </np>
        <np role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
+        <np def="def" role="owner" possessor="no.owner">
+          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
      </np>
+    </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="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
+    <np role="obj" tr="rheme" case="STA" possessor="no.owner" gender="cl.1">
      <np type="owner_owned" gender="cl.1">
        <np role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
        <np def="def" role="owner" possessor="no.owner">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </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" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="numgender" function="suffix" gloss="cl.1"/>
-    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <word posp="noun" gloss="knife" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="&#x261; &#x268; &#x2C8;">ɡɨˈ</word>
+    <thingy type="numgender" function="suffix" gloss="cl.1" attach="suffix" ph="c">c</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="m &#x259;# &#x2C8;">mə#ˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" possessor="no.owner" ph="q a &#x2C8; &#x272;">qaˈɲ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="&#x261; a &#x2C8; p">ɡaˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <word posp="noun" gloss="knife" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x259;#&#x2D0; &#x2C8; &#x288;">ɟə#ːˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n a n a&#x2D0; &#x2C8; p">nanaːˈp</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="&#x261; &#x268; &#x2C8;">ɡɨˈ</word>
    <thingy type="numgender" function="suffix" gloss="cl.1" attach="suffix" ph="c">c</thingy>
    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="m &#x259;# &#x2C8;">mə#ˈ</word>
    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" possessor="no.owner" ph="q a &#x2C8; &#x272;">qaˈɲ</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="&#x261; a &#x2C8; p">ɡaˈp</word>
    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
    <word posp="noun" gloss="knife" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x259;#&#x2D0; &#x2C8; &#x288;">ɟə#ːˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; &#x288;" underlying="&#x268; &#x288;">əʈ</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n a n a&#x2D0; &#x2C8; p">nanaːˈp</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="&#x261; &#x268; &#x2C8;">ɡɨˈ</word>
-    <thingy type="numgender" function="suffix" gloss="cl.1" attach="suffix" ph="c">c</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="m &#x259;# &#x2C8;">mə#ˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" possessor="no.owner" ph="q a &#x2C8; &#x272;">qaˈɲ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="&#x261; a &#x2C8; p">ɡaˈp</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <word posp="noun" gloss="knife" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x259;#&#x2D0; &#x2C8; &#x288;">ɟə#ːˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; &#x288;" underlying="&#x268; &#x288;">əʈ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n a n a&#x2D0; &#x2C8; p">nanaːˈp</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">ɡɨˈ</word>
+    <thingy type="numgender" function="suffix" gloss="cl.1">c</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">mə#ˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" possessor="no.owner">qaˈɲ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">aˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">ɡaˈp</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
+    <word posp="noun" gloss="knife" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">ɟə#ːˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" underlying="&#x268; &#x288;">əʈ</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">nanaːˈp</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daˈməʈ&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;-ac&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;ˈɡɨ&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;-c&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmə̃&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqaɲ&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaʈ&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡap&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;-ɨx&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;ˈɟə̃ːʈ&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;-ɨʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naˈnaːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>daˈməʈac ˈɡɨc ˈmə̃r ŋaz ˈqaɲac ˈŋaʈ caŋ ˈɡapɨx ˈɟə̃ːʈəʈ naˈnaːp</p>
+  <p>damertaty gyty mẽr ngaz qañaty ngart tyang gapykh dyẽẽrtert nanaap</p>
+  <il>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈɡɨ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>-c</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ˈmə̃</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ˈqaɲ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaʈ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈɡap</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ˈɟə̃ːʈ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-ɨʈ</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>naˈnaːp</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <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>
    <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">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module addgender:

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

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

createpronouns:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" tr="theme" role="obj" output="aspron" locus="number" case="STA" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" tr="theme" role="obj" locus="number" case="STA" gender="cl.1">
+      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </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="subj" output="aspron" locus="number" case="ACT" gender="cl.2">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2">
+      <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
    </np>
  </s>
</example>

module markowned:

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

prodrop:

No change.

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" tr="theme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" tr="theme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.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="3.cl.1" subj="3.cl.2"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
-      <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
+      <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/mode.ta/obligatory
Got indicative.PRES
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" tr="theme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" tr="theme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="p &#x259; &#x2C8; s">pəˈs</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="p &#x259; &#x2C8; s">pəˈs</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="STA" possessor="no.owner">ɟaˈc</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2">ɟɨt</thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner">pəˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟac&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈəːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpəs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟac ˈrəːn ɟɨt ˈpəs</p>
+  <p>dyaty reen dyyt pes</p>
+  <il>
+    <w>
+      <o>ˈɟac</o>
+      <g>3.cl.1</g>
+    </w>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈəːn</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ɟɨt</o>
+      <g>active.POS.3.cl.2</g>
+    </w>
+    <w>
+      <o>ˈpəs</o>
+      <g>3.cl.2</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Nyakhab hates Pisas.">
  <flat>
-    <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="Pisas" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="p &#x268; s &#x259; &#x2C8; s">pɨsəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="&#x268; &#x2C8; p a z a d">ɨˈpazad</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Nyakhab" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x272; a x &#x259;# &#x2C8; b">ɲaxə#ˈb</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="loveprop" translation="Nyakhab hates Pisas.">
  <flat>
-    <word posp="noun" gloss="Pisas" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="p &#x268; s &#x259; &#x2C8; s">pɨsəˈs</word>
+    <word posp="noun" gloss="Pisas" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="p &#x259; s &#x259; &#x2C8; s" underlying="p &#x268; s &#x259; &#x2C8; s">pəsəˈs</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="&#x268; &#x2C8; p a z a d">ɨˈpazad</word>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="Nyakhab" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x272; a x &#x259;# &#x2C8; b">ɲaxə#ˈb</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Nyakhab hates Pisas.">
  <flat>
-    <word posp="noun" gloss="Pisas" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="p &#x259; s &#x259; &#x2C8; s" underlying="p &#x268; s &#x259; &#x2C8; s">pəsəˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="&#x268; &#x2C8; p a z a d">ɨˈpazad</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Nyakhab" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x272; a x &#x259;# &#x2C8; b">ɲaxə#ˈb</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Pisas" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" underlying="p &#x268; s &#x259; &#x2C8; s">pəsəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">ɨˈpazad</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2">ɟɨt</thingy>
+    <word posp="noun" gloss="Nyakhab" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes">ɲaxə#ˈb</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" underlying="&#x268; x">əx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pɨˈsəs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Pisas&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ac&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;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɨpazad&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;ɟɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲaˈxə̃b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Nyakhab&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɨx&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pəˈsəsac ˈrɨpazad ɟɨt ɲaˈxə̃bəx</p>
+  <p>Pesesaty rypazad dyyt Ñakhẽbekh</p>
+  <il>
+    <w>
+      <o>pɨˈsəs</o>
+      <g>Pisas</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈɨpazad</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>ɟɨt</o>
+      <g>active.POS.3.cl.2</g>
+    </w>
+    <w>
+      <o>ɲaˈxə̃b</o>
+      <g>Nyakhab</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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

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

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" case="STA" gender="cl.4">
    <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="STA" gender="cl.4">
-    <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
+  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="boy"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning STA

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got STA
About to call getSlotValue for boy/noun/case/obligatory
Got STA
<example id="posso1" translation="the boy's apple">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
+  <flat>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-  </np>
-  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS">sɨt</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɨˈtask&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;-ac&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;sɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɨst&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;-ac&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>cɨˈtaskac sɨt ˈɟɨstac</p>
+  <p>tyytaskaty syt dyystaty</p>
+  <il>
+    <w>
+      <o>cɨˈtask</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>sɨt</o>
+      <g>3.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈɟɨst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ac</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 adj2noun:

No change.

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

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

<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 type="owner_owned" case="STA" gender="cl.4">
+    <np number="sing" def="def" output="aspron" locus="number" role="owner" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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" gender="cl.4">
+  <np type="owner_owned" case="STA" gender="cl.4" number="sing">
    <np number="sing" def="def" output="aspron" locus="number" role="owner" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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" gender="cl.4" number="sing">
-    <np number="sing" def="def" output="aspron" locus="number" role="owner" gender="cl.2">
+  <np type="owner_owned" case="STA" gender="cl.4">
+    <np def="def" output="aspron" locus="number" role="owner" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
+    <np def="def" locus="number" role="owned" gender="cl.4">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

createpronouns:

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

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="STA" gender="cl.4">
    <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
      <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="STA" gender="cl.4">
-    <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
+  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
-    <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </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="owned" gender="cl.4" possessor="3.cl.2" case="STA">
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner" ph="p &#x259; &#x2C8; s">pəˈs</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner" ph="p &#x259; &#x2C8; s">pəˈs</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" case="STA">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS">sɨt</thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" possessor="no.owner">pəˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɨˈtask&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;-ac&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;sɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpəs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>cɨˈtaskac sɨt ˈpəs</p>
+  <p>tyytaskaty syt pes</p>
+  <il>
+    <w>
+      <o>cɨˈtask</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>sɨt</o>
+      <g>3.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈpəs</o>
+      <g>3.cl.2</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 adj2noun:

No change.

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

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

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="STA" gender="cl.4">
-    <np def="neither" locus="number" role="owner">
-      <word person="1excl" posp="pron"/>
-    </np>
-    <np def="def" locus="number" role="owned" gender="cl.4">
+    <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl">
      <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:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="STA" gender="cl.4">
    <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="STA" gender="cl.4">
-    <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl">
+  <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got STA
<example id="posso2" translation="my apple">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA">
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA">
+  <flat>
    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl"/>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.POSS" ph="s &#x268; c">sɨc</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.POSS" ph="s &#x268; c">sɨc</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.4" possessor="1excl" case="STA">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.POSS">sɨc</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɨˈtask&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;-ac&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;sɨc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>cɨˈtaskac sɨc</p>
+  <p>tyytaskaty syty</p>
+  <il>
+    <w>
+      <o>cɨˈtask</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>sɨc</o>
+      <g>1excl.POSS</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <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>
    <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 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>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
    </np>
    <np def="def" locus="number" role="owned" gender="cl.4" possessor="2">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2"/>
      <thingy type="nppossessor" function="enclitic" gloss="2"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">
-      <word posp="verb" gloss="kiss"/>
+      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning STA
calling defaultval for case/
defaultval: noun, case
returning STA

addaffixes:

About to call getSlotValue for son/noun/case/obligatory
Got STA
About to call getSlotValue for neighbour/noun/case/obligatory
Got STA
About to call getSlotValue for kiss/verb/mode.ta/obligatory
Got indicative.PAST
About to call getSlotValue for daughter/noun/case/obligatory
Got ACT
About to call getSlotValue for hunter/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="owned" gender="cl.2" possessor="3.cl.4" case="STA">
      <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
    </np>
    <np def="def" locus="number" role="owned" gender="cl.4" possessor="2">
      <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2"/>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="2"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT">
      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT"/>
+      <thingy type="nouncase" function="suffix" gloss="ACT"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </s>
</example>

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA" ph="&#x25F; &#x259; &#x2C8; s+p">ɟəˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS" ph="p a b">pab</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2" ph="c a s+q &#x259; &#x2C8; s+k">casqəˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.POSS" ph="s a z">saz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="a &#x2C8; t &#x268; r &#x268; &#x25F;">aˈtɨrɨɟ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA" ph="&#x25F; &#x259; &#x2C8; s+p">ɟəˈsp</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS" ph="p a b">pab</thingy>
    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2" ph="c a s+q &#x259; &#x2C8; s+k">casqəˈsk</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="2.POSS" ph="s a z">saz</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="a &#x2C8; t &#x268; r &#x268; &#x25F;">aˈtɨrɨɟ</word>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA" ph="&#x25F; &#x259; &#x2C8; s+p">ɟəˈsp</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS" ph="p a b">pab</thingy>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2" ph="c a s+q &#x259; &#x2C8; s+k">casqəˈsk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.POSS" ph="s a z">saz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="a &#x2C8; t &#x268; r &#x268; &#x25F;">aˈtɨrɨɟ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">ɟəˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS">pab</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.4" possessor="2">casqəˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.POSS">saz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">aˈtɨrɨɟ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" case="ACT">bəːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" underlying="&#x268; x">əx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS">sɨt</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟəsp&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;-ac&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;pab&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.4.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;caˈsqəsk&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;-ac&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;saz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈatɨrɨɟ&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbəː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;-ɨx&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;sɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋɨˈqɨːsc&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;-ac&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>ˈɟəspac pab caˈsqəskac saz ˈŋatɨrɨɟ caŋ ˈbəːsəx sɨt ŋɨˈqɨːscac</p>
+  <p>dyespaty pab tyasqeskaty saz ngatyrydy tyang beesekh syt ngyqyystyaty</p>
+  <il>
+    <w>
+      <o>ˈɟəsp</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>pab</o>
+      <g>3.cl.4.POSS</g>
+    </w>
+    <w>
+      <o>caˈsqəsk</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>saz</o>
+      <g>2.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈatɨrɨɟ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈbəːs</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>sɨt</o>
+      <g>3.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ŋɨˈqɨːsc</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ac</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 adj2noun:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

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"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="lamb0" translation="a lamb">
-  <np tr="rheme" locus="number" case="STA" gender="cl.1">
+  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </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:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-    <word posp="noun" gloss="lamb"/>
-    <word gloss="a" posp="det"/>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got STA
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
<example id="lamb0" translation="a lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">paxaːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">r</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paˈxaːs&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;-ac&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;ˈdɨ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>paˈxaːsac ˈdɨr</p>
+  <p>pakhaasaty dyr</p>
+  <il>
+    <w>
+      <o>paˈxaːs</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈdɨ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>cl.1</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb1" translation="a little lamb">
-  <np def="indef" number="sing" tr="rheme">
-    <noun>lamb</noun>
-    <adj>little</adj>
+  <np def="indef" number="sing" tr="rheme" locus="number">
+    <word posp="noun" gloss="lamb"/>
+    <word posp="adj" gloss="little"/>
  </np>
</example>
The adjective 'little' will be incorporated. Resistance is useless.

module adj2noun:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

module affixdensity:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
-    <word posp="noun" gloss="lamb"/>
-    <word posp="adj" gloss="little"/>
+    <word gloss="lamb" lexposp="noun" posp="noun">
+      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" case="STA">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

module addgender:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA">
+  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.1">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

module propagatenumber:

No change.

module simplifynumber:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.1">
+  <np tr="rheme" locus="number" case="STA" gender="cl.1">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

createpronouns:

No change.

module markowned:

<example id="lamb1" translation="a little lamb">
-  <np tr="rheme" locus="number" case="STA" gender="cl.1">
+  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </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:

<example id="lamb1" translation="a little lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
-    <word gloss="a" posp="det"/>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got STA
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
<example id="lamb1" translation="a little lamb">
  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb1" translation="a little lamb">
-  <np tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="n a">na</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="&#x268; m">ɨm</thingy>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="n a">na</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="&#x268; m">ɨm</thingy>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj">na</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">paxaːˈs</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">ɨm</thingy>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">r</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;na-&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;paˈxaːs&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;-ɨ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;-ac&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;ˈdɨ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>napaˈxaːsɨmac ˈdɨr</p>
+  <p>napakhaasymaty dyr</p>
+  <il>
+    <w>
+      <o>na-</o>
+      <g>little₁</g>
+    </w>
+    <w>
+      <o>paˈxaːs</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ɨm</o>
+      <g>little₂</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈdɨ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>cl.1</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <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="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 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>
  </s>
</example>
The adjective 'little' will be incorporated. Resistance is useless.

module adj2noun:

No change.

module articles:

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

module nonpastonly:

<example id="lamb2" translation="She had 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="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="little"/>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
-      <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="little"/>
+      <word gloss="lamb" lexposp="noun" posp="noun">
+        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="have"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="have"/>
+    </vp>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
+    </np>
  </s>
</example>

module casemarking:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="STA">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <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="girl"/>
    </np>
  </s>
</example>

module addgender:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="STA">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
+    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
+    <np def="def" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

createpronouns:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <np def="def" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module markowned:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
+    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </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="lamb2" translation="She had a little lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="have"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
-      <word gloss="a" posp="det"/>
+      <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
-      <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.cl.1" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
-      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got STA
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
About to call getSlotValue for have/verb/mode.ta/obligatory
Got indicative.PAST
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+      <thingy type="detgender" function="suffix" gloss="cl.1"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
-      <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-      </word>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="n a">na</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="&#x268; m">ɨm</thingy>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x268; &#x2C8; s">ɨˈs</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="n a">na</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="&#x268; m">ɨm</thingy>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x268; &#x2C8; s">ɨˈs</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj">na</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">paxaːˈs</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">ɨm</thingy>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word gloss="a" posp="det" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">r</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">ɨˈs</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner">ɟaˈc</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;na-&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;paˈxaːs&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;-ɨ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;-ac&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;ˈdɨ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈɨs&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟac&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>napaˈxaːsɨmac ˈdɨr ˈŋɨs caŋ ˈɟac</p>
+  <p>napakhaasymaty dyr ngys tyang dyaty</p>
+  <il>
+    <w>
+      <o>na-</o>
+      <g>little₁</g>
+    </w>
+    <w>
+      <o>paˈxaːs</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ɨm</o>
+      <g>little₂</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈdɨ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈɨs</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈɟac</o>
+      <g>3.cl.1</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp tam="past-punct">
      <verb>love</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
      <noun>girl</noun>
    </np>
    <np def="indef" number="sing" tr="rheme" role="obj">
      <noun>lamb</noun>
      <adj>black</adj>
    </np>
  </s>
</example>

cleanup:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <vp tam="past-punct">
-      <verb>love</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="love"/>
    </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 def="indef" number="sing" tr="rheme" role="obj">
-      <noun>lamb</noun>
-      <adj>black</adj>
+    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="noun" gloss="lamb"/>
+      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

module adj2noun:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+    <np role="obj" tr="rheme">
+      <np type="owner_owned">
+        <np number="sing" def="def" role="owner">
+          <word posp="noun" gloss="black" lexposp="adj"/>
+        </np>
+        <np role="owned" def="indef" number="sing" locus="number">
          <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="black"/>
        </np>
+      </np>
+    </np>
  </s>
</example>

module articles:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
-        <np role="owned" def="indef" number="sing" locus="number">
+        <np role="owned" number="sing" locus="number">
          <word posp="noun" gloss="lamb"/>
+          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb2b" translation="She loved a black 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="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="love"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
    <np role="obj" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="love"/>
+    </vp>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
+    </np>
  </s>
</example>

module casemarking:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="STA">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <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="girl"/>
    </np>
  </s>
</example>

module addgender:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="obj" tr="rheme" case="STA">
-      <np type="owner_owned">
+      <np type="owner_owned" gender="cl.1">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
-        <np role="owned" number="sing" locus="number">
+        <np role="owned" number="sing" locus="number" gender="cl.1">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme" case="STA">
-      <np type="owner_owned" gender="cl.1">
+    <np role="obj" tr="rheme" case="STA" number="sing">
+      <np type="owner_owned" gender="cl.1" number="sing">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number" gender="cl.1">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module simplifynumber:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme" case="STA" number="sing">
-      <np type="owner_owned" gender="cl.1" number="sing">
-        <np number="sing" def="def" role="owner">
+    <np role="obj" tr="rheme" case="STA">
+      <np type="owner_owned" gender="cl.1">
+        <np def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
-        <np role="owned" number="sing" locus="number" gender="cl.1">
+        <np role="owned" locus="number" gender="cl.1">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
+    <np def="def" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

createpronouns:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="obj" tr="rheme" case="STA">
      <np type="owner_owned" gender="cl.1">
        <np def="def" role="owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" locus="number" gender="cl.1">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module markowned:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme" case="STA">
+    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
      <np type="owner_owned" gender="cl.1">
-        <np def="def" role="owner">
+        <np def="def" role="owner" possessor="no.owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
-        <np role="owned" locus="number" gender="cl.1">
+        <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module ngen:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
      <np type="owner_owned" gender="cl.1">
-        <np def="def" role="owner" possessor="no.owner">
-          <word posp="noun" gloss="black" lexposp="adj"/>
-        </np>
        <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
+        <np def="def" role="owner" possessor="no.owner">
+          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
      </np>
+    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme" case="STA" possessor="no.owner">
+    <np role="obj" tr="rheme" case="STA" possessor="no.owner" gender="cl.1">
      <np type="owner_owned" gender="cl.1">
        <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
        </np>
        <np def="def" role="owner" possessor="no.owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </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" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="obj" tr="rheme" case="STA" possessor="no.owner" gender="cl.1">
      <np type="owner_owned" gender="cl.1">
        <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
          <word posp="noun" gloss="lamb"/>
          <word gloss="a" posp="det"/>
+          <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
        </np>
        <np def="def" role="owner" possessor="no.owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np role="obj" tr="rheme" case="STA" possessor="no.owner" gender="cl.1">
-      <np type="owner_owned" gender="cl.1">
+    <np type="owner_owned" gender="cl.1" role="obj" tr="rheme" case="STA" possessor="no.owner">
      <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
        <word posp="noun" gloss="lamb"/>
        <word gloss="a" posp="det"/>
        <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
      </np>
      <np def="def" role="owner" possessor="no.owner">
        <word posp="noun" gloss="black" lexposp="adj"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="love"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np type="owner_owned" gender="cl.1" role="obj" tr="rheme" case="STA" possessor="no.owner">
-      <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3">
+    <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">
      <word posp="noun" gloss="lamb"/>
      <word gloss="a" posp="det"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
    </np>
    <np def="def" role="owner" possessor="no.owner">
      <word posp="noun" gloss="black" lexposp="adj"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="love"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

movedowntoword:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">
-      <word posp="noun" gloss="lamb"/>
-      <word gloss="a" posp="det"/>
+      <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
+      <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
    </np>
    <np def="def" role="owner" possessor="no.owner">
-      <word posp="noun" gloss="black" lexposp="adj"/>
+      <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
-      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
+      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning STA

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got STA
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
About to call getSlotValue for black/noun/case/obligatory
Got STA
About to call getSlotValue for love/verb/mode.ta/obligatory
Got indicative.PAST
<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">
      <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
+      <thingy type="detgender" function="suffix" gloss="cl.1"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
    </np>
    <np def="def" role="owner" possessor="no.owner">
      <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb2b" translation="She loved a black lamb.">
-  <s>
-    <np role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">
+  <flat>
    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    </np>
-    <np def="def" role="owner" possessor="no.owner">
    <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="d &#x268; &#x2C8;">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner" ph="d &#x259; &#x2C8; &#x14B;">dəˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="p a x a&#x2D0; &#x2C8; s">paxaːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA" ph="d &#x268; &#x2C8;">dɨˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="r">r</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner" ph="d &#x259; &#x2C8; &#x14B;">dəˈŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x25F; a &#x2C8; c">ɟaˈc</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">paxaːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" tr="rheme" case="STA">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">r</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" def="def" role="owner" possessor="no.owner">dəˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner">ɟaˈc</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paˈxaːs&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;-ac&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;ˈdɨ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;black&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈəːn&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟac&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>paˈxaːsac ˈdɨr ŋaz ˈdəŋac ˈŋəːn caŋ ˈɟac</p>
+  <p>pakhaasaty dyr ngaz dengaty ngeen tyang dyaty</p>
+  <il>
+    <w>
+      <o>paˈxaːs</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈdɨ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ˈdəŋ</o>
+      <g>black</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈəːn</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈɟac</o>
+      <g>3.cl.1</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <np def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
-      <word person="2" posp="pron" gloss="2" gender="cl.1"/>
+      <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">
-      <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" subj="1excl"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
-      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1"/>
+      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/mode.ta/obligatory
Got indicative.PRES
<example id="love" translation="I love you.">
  <s>
    <np def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
      <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
+  <flat>
    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="d a &#x2C8; &#x25F;">daˈɟ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="d a &#x2C8; &#x25F;">daˈɟ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">daˈɟ</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">əːˈn</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɲaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">qəˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdaɟ&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;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈəːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈdaɟ ˈrəːn ɲaz ˈqəŋ</p>
+  <p>dady reen ñaz qeng</p>
+  <il>
+    <w>
+      <o>ˈdaɟ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈəːn</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ɲaz</o>
+      <g>active.POS.1excl</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</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 adj2noun:

No change.

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

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <np def="def" locus="number" case="LOC" gender="cl.1">
+    <np def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="table"/>
    </np>
    <word gloss="in_surface" posp="pp" owner="3s"/>
  </pp>
</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:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="table"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="in_surface" posp="pp" owner="3s"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    <word gloss="in_surface" posp="pp" owner="3s"/>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
  </pp>
</example>

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got LOC
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="LOC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
-    <np def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner" ph="b &#x268;&#x2D0; &#x2C8; s">bɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t a &#x2C8; d">taˈd</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner" ph="b &#x268;&#x2D0; &#x2C8; s">bɨːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t a &#x2C8; d">taˈd</word>
+    <word posp="noun" gloss="table" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">bɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">ɨʈ</thingy>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes">taˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbɨːs&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;-ɨʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtad&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈbɨːsɨʈ ˈtad</p>
+  <p>byysyrt tad</p>
+  <il>
+    <w>
+      <o>ˈbɨːs</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-ɨʈ</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>ˈtad</o>
+      <g>in_surface</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <np def="def" locus="number" case="LOC" gender="cl.4">
+    <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="box"/>
    </np>
    <word gloss="to_inside" posp="pp" owner="3s"/>
  </pp>
</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:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="box"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="to_inside" posp="pp" owner="3s"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    <word gloss="to_inside" posp="pp" owner="3s"/>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
  </pp>
</example>

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got LOC
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="LOC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
  </pp>
</example>

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
-    <np def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="&#x288; a x &#x268; &#x2C8; r">ʈaxɨˈr</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k a&#x2D0; &#x2C8; r">kaːˈr</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="&#x288; a x &#x268; &#x2C8; r">ʈaxɨˈr</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x268; &#x288;">ɨʈ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k a&#x2D0; &#x2C8; r">kaːˈr</word>
+    <word posp="noun" gloss="box" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">ʈaxɨˈr</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">ɨʈ</thingy>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes">kaːˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈaˈxɨr&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;-ɨʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaːr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʈaˈxɨrɨʈ ˈkaːr</p>
+  <p>rtakhyryrt kaar</p>
+  <il>
+    <w>
+      <o>ʈaˈxɨr</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-ɨʈ</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>ˈkaːr</o>
+      <g>to_inside</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
-    <np def="neither" locus="number" case="LOC" possessor="no.owner" person="1excl">
+  <flat>
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" case="LOC" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" case="LOC" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n a n a&#x2D0; &#x2C8; p">nanaːˈp</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" case="LOC" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n a n a&#x2D0; &#x2C8; p">nanaːˈp</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" case="LOC" possessor="no.owner">qəˈŋ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">nanaːˈp</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naˈnaːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈqəŋ naˈnaːp</p>
+  <p>qeng nanaap</p>
+  <il>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>naˈnaːp</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="obj" locus="number" case="STA">
+    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2">
      <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 number="sing" def="def" role="subj" locus="number" case="ACT">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2">
+    <np def="def" role="obj" locus="number" case="STA" gender="cl.2">
      <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 number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" role="subj" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

createpronouns:

No change.

module markowned:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np def="def" role="obj" locus="number" case="STA" gender="cl.2">
+    <np def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <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 def="def" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="jaguar"/>
    </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="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <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" obj="3.cl.2" subj="3.cl.1">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="a&#x2D0; &#x2C8; &#x288;">aːˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="m a b &#x268;&#x2D0; &#x2C8; s">mabɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="a&#x2D0; &#x2C8; &#x288;">aːˈʈ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="m a b &#x268;&#x2D0; &#x2C8; s">mabɨːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">aːˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">mabɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋɨˈqɨːsc&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaːʈ&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;maˈbɨː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;-ɨx&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;</p>
+  <p>ŋɨˈqɨːscac ˈŋaːʈ caŋ maˈbɨːsɨx</p>
+  <p>ngyqyystyaty ngaart tyang mabyysykh</p>
+  <il>
+    <w>
+      <o>ŋɨˈqɨːsc</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaːʈ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>maˈbɨːs</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <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>
    <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">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.1"/>
    </np>
    <np def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
-      <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.cl.1" subj="3.cl.1"/>
      <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning STA
calling defaultval for case/
defaultval: noun, case
returning STA

addaffixes:

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

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.1"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA" ph="p a &#x2C8; b">paˈb</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.1.POSS" ph="z a m">zam</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="q a s+c &#x259; &#x2C8; s">qascəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA" ph="p a &#x2C8; b">paˈb</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.1.POSS" ph="z a m">zam</thingy>
    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="q a s+c &#x259; &#x2C8; s">qascəˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA" ph="p a &#x2C8; b">paˈb</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.1.POSS" ph="z a m">zam</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2" ph="b &#x259;&#x2D0; &#x2C8; s">bəːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="q a s+c &#x259; &#x2C8; s">qascəˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x259; x" underlying="&#x268; x">əx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.1" case="STA">paˈb</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.1.POSS">zam</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" possessor="3.cl.2">bəːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS">sɨt</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">ə#ːˈc</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">qascəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" underlying="&#x268; x">əx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpab&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;-ac&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;zam&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈbəː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;-ac&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;sɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋɨˈqɨːsc&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈə̃ːc&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaˈscəs&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;-ɨx&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;</p>
+  <p>ˈpabac zam ˈbəːsac sɨt ŋɨˈqɨːscac ˈŋə̃ːc caŋ qaˈscəsəx</p>
+  <p>pabaty zam beesaty syt ngyqyystyaty ngẽẽty tyang qastyesekh</p>
+  <il>
+    <w>
+      <o>ˈpab</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>zam</o>
+      <g>3.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>ˈbəːs</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>sɨt</o>
+      <g>3.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ŋɨˈqɨːsc</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈə̃ːc</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>qaˈscəs</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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

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

<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" gender="cl.2">
+    <np type="owner_owned" role="owner" gender="cl.4">
+      <np type="owner_owned" role="owner" gender="cl.2">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned">
+      <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
      <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" gender="cl.2">
-    <np type="owner_owned" role="owner" gender="cl.4">
-      <np type="owner_owned" role="owner" gender="cl.2">
+  <np type="owner_owned" case="STA" gender="cl.2" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.4" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
      <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" gender="cl.2" number="sing">
-    <np type="owner_owned" role="owner" gender="cl.4" number="sing">
-      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
-        <np number="sing" def="neither" locus="number" role="owner">
-          <word person="2" number="sing" posp="pron"/>
+  <np type="owner_owned" case="STA" gender="cl.2">
+    <np type="owner_owned" role="owner" gender="cl.4">
+      <np type="owner_owned" role="owner" gender="cl.2">
+        <np def="neither" locus="number" role="owner">
+          <word person="2" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
+        <np def="def" locus="number" role="owned" gender="cl.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
+      <np def="def" locus="number" role="owned" gender="cl.4">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
+    <np def="def" locus="number" role="owned" gender="cl.2">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

createpronouns:

No change.

module markowned:

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

module ngen:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="STA" gender="cl.2">
+    <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4">
+      <word posp="noun" gloss="book"/>
+    </np>
    <np type="owner_owned" role="owner" gender="cl.4">
+      <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
+        <word posp="noun" gloss="friend"/>
+      </np>
      <np type="owner_owned" role="owner" gender="cl.2">
        <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
-        <word posp="noun" gloss="friend"/>
    </np>
  </np>
-    <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4">
-      <word posp="noun" gloss="book"/>
-    </np>
-  </np>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="STA" gender="cl.2">
    <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4">
      <word posp="noun" gloss="book"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
    </np>
    <np type="owner_owned" role="owner" gender="cl.4">
      <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
        <word posp="noun" gloss="friend"/>
+        <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.2">
        <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
          <word posp="noun" gloss="son"/>
+          <thingy type="nppossessor" function="enclitic" gloss="2"/>
        </np>
      </np>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="STA" gender="cl.2">
-    <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4">
+  <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">
    <word posp="noun" gloss="book"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
  </np>
-    <np type="owner_owned" role="owner" gender="cl.4">
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
    <word posp="noun" gloss="friend"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
-      <np type="owner_owned" role="owner" gender="cl.2">
  <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
    <word posp="noun" gloss="son"/>
    <thingy type="nppossessor" function="enclitic" gloss="2"/>
  </np>
-      </np>
-    </np>
-  </np>
</example>

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2"/>
    <thingy type="nppossessor" function="enclitic" gloss="2"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning STA
calling defaultval for case/
defaultval: noun, case
returning STA

addaffixes:

About to call getSlotValue for book/noun/case/obligatory
Got STA
About to call getSlotValue for friend/noun/case/obligatory
Got STA
About to call getSlotValue for son/noun/case/obligatory
Got STA
<example id="poss3" translation="your son's friend's book">
  <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">
    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2"/>
+    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="2"/>
  </np>
</example>

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">
+  <flat>
    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
-  </np>
-  <np def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-  </np>
-  <np def="def" locus="number" role="owned" gender="cl.2" possessor="2">
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="2"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4"/>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2"/>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA" ph="&#x25F; &#x259; &#x2C8; r">ɟəˈr</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS" ph="p a b">pab</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" ph="k &#x268; &#x2C8; x">kɨˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2" ph="&#x25F; &#x259; &#x2C8; s+p">ɟəˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.POSS" ph="s a z">saz</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA" ph="&#x25F; &#x259; &#x2C8; r">ɟəˈr</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS" ph="p a b">pab</thingy>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2" ph="k &#x268; &#x2C8; x">kɨˈx</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS" ph="s &#x268; t">sɨt</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2" ph="&#x25F; &#x259; &#x2C8; s+p">ɟəˈsp</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.POSS" ph="s a z">saz</thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.2" possessor="3.cl.4" case="STA">ɟəˈr</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.4.POSS">pab</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.4" possessor="3.cl.2">kɨˈx</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.2.POSS">sɨt</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" possessor="2">ɟəˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.POSS">saz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟər&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ac&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;pab&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.4.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɨx&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ac&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;sɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟəsp&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;-ac&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;saz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟərac pab ˈkɨxac sɨt ˈɟəspac saz</p>
+  <p>dyeraty pab kykhaty syt dyespaty saz</p>
+  <il>
+    <w>
+      <o>ˈɟər</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>pab</o>
+      <g>3.cl.4.POSS</g>
+    </w>
+    <w>
+      <o>ˈkɨx</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>sɨt</o>
+      <g>3.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈɟəsp</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>saz</o>
+      <g>2.POSS</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

<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" case="STA">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

<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" case="STA" gender="cl.1">
+    <np def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

createpronouns:

No change.

module markowned:

<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 def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1">
+    <np def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </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="intr_stat" translation="The cat is sleeping.">
  <s>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1">
      <word posp="verb" gloss="sleep"/>
    </vp>
    <np def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; &#x14B;">ə#ːˈŋ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; &#x14B;">ə#ːˈŋ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1">ə#ːˈŋ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.1" possessor="no.owner">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈə̃ːŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnast&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;-ac&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>ˈrə̃ːŋ caŋ ˈnastac</p>
+  <p>rẽẽng tyang nastaty</p>
+  <il>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈə̃ːŋ</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

<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" case="ACT">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

<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" case="ACT" gender="cl.1">
+    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

createpronouns:

No change.

module markowned:

<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 def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1">
+    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </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="intr_act" translation="The cat is running.">
  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1">
      <word posp="verb" gloss="run"/>
    </vp>
    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1" ph="a &#x2C8;">aˈ</word>
+    <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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1" ph="a &#x2C8;">aˈ</word>
-    <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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1">aˈ</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnast&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;-ɨx&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;</p>
+  <p>ˈra ˈnastɨx</p>
+  <p>ra nastykh</p>
+  <il>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈa</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1">
+    <np def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="chase"/>
    </vp>
-    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1">
+    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </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="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; x a &#x272; a d">ə#ːˈxaɲad</word>
+    <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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; x a &#x272; a d">ə#ːˈxaɲad</word>
-    <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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1">ə#ːˈxaɲad</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daˈməʈ&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;-ac&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;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈə̃ːxaɲad&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;ˈnast&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;-ɨx&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;</p>
+  <p>daˈməʈac ˈrə̃ːxaɲad ˈnastɨx</p>
+  <p>damertaty rẽẽkhañad nastykh</p>
+  <il>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈə̃ːxaɲad</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1" ph="c a &#x14B;">caŋ</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" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">aˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.1">caŋ</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.1" possessor="no.owner">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daˈməʈ&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaʈ&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;caŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnast&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;-ɨx&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;</p>
+  <p>daˈməʈac ˈŋaʈ caŋ ˈnastɨx</p>
+  <p>damertaty ngart tyang nastykh</p>
+  <il>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaʈ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>caŋ</o>
+      <g>active.POS.3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <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>
    <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">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="m a b &#x268;&#x2D0; &#x2C8; s">mabɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="c &#x268; &#x2C8; &#x272;">cɨˈɲ</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="c a &#x261; &#x268; &#x2C8; &#x25F;">caɡɨˈɟ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="c &#x268; &#x2C8; &#x272;">cɨˈɲ</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="q a s+c &#x259; &#x2C8; s">qascəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2" ph="a&#x2D0; &#x2C8; &#x288;">aːˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="jaguar" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="m a b &#x268;&#x2D0; &#x2C8; s">mabɨːˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="c &#x268; &#x2C8; &#x272;">cɨˈɲ</word>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="c a &#x261; &#x268; &#x2C8; &#x25F;">caɡɨˈɟ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="c &#x268; &#x2C8; &#x272;">cɨˈɲ</word>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="q a s+c &#x259; &#x2C8; s">qascəˈs</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2" ph="a&#x2D0; &#x2C8; &#x288;">aːˈʈ</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x14B; &#x268; q &#x268;&#x2D0; &#x2C8; s+c">ŋɨqɨːˈsc</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">mabɨːˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word posp="conj" gloss="and">cɨˈɲ</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">caɡɨˈɟ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word posp="conj" gloss="and">cɨˈɲ</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">qascəˈs</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2">aːˈʈ</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2">ɟɨt</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">ŋɨqɨːˈsc</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;maˈbɨː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;-ac&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;ˈcɨɲ&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;caˈɡɨɟ&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;-ac&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;ˈcɨɲ&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;qaˈscəs&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaːʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋɨˈqɨːsc&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;-ɨx&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;</p>
+  <p>maˈbɨːsac ˈcɨɲ caˈɡɨɟac ˈcɨɲ qaˈscəsac ˈŋaːʈ ɟɨt ŋɨˈqɨːscɨx</p>
+  <p>mabyysaty tyyñ tyagydyaty tyyñ qastyesaty ngaart dyyt ngyqyystyykh</p>
+  <il>
+    <w>
+      <o>maˈbɨːs</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈcɨɲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>caˈɡɨɟ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈcɨɲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>qaˈscəs</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaːʈ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ɟɨt</o>
+      <g>active.POS.3.cl.2</g>
+    </w>
+    <w>
+      <o>ŋɨˈqɨːsc</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</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 adj2noun:

No change.

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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɲaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">qəˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnast&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈɨbɨbak&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;ɲaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnastac ˈŋɨbɨbak ɲaz ˈqəŋ</p>
+  <p>nastaty ngybybak ñaz qeng</p>
+  <il>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈɨbɨbak</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɲaz</o>
+      <g>active.POS.1excl</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</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 adj2noun:

No change.

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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <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>
-            <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>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="catch"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <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>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="a &#x2C8; &#x288;">aˈʈ</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">aˈʈ</word>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɲaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">qəˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daˈməʈ&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaʈ&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;ˈnast&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;-ac&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈɨbɨbak&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;ɲaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>daˈməʈac ˈŋaʈ ˈnastac ŋaz ˈŋɨbɨbak ɲaz ˈqəŋ</p>
+  <p>damertaty ngart nastaty ngaz ngybybak ñaz qeng</p>
+  <il>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaʈ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈɨbɨbak</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɲaz</o>
+      <g>active.POS.1excl</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</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 adj2noun:

No change.

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>
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <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>
-            <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>
-                    <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>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="eat"/>
                    </vp>
                  </subs>
                </np>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="catch"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <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>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a r &#x268;&#x2D0; &#x2C8; s+p">narɨːˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" ph="a &#x2C8; &#x288;">aˈʈ</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a r &#x268;&#x2D0; &#x2C8; s+p">narɨːˈsp</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" ph="a &#x2C8; &#x288;">aˈʈ</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">narɨːˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">ə#ːˈc</word>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3">aˈʈ</word>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.3" subj="1excl">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɲaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">qəˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naˈrɨːsp&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈə̃ːc&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;daˈməʈ&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;-ac&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaʈ&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;ˈnast&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;-ac&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈɨbɨbak&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;ɲaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>naˈrɨːspac ˈŋə̃ːc daˈməʈac ŋaz ˈŋaʈ ˈnastac ŋaz ˈŋɨbɨbak ɲaz ˈqəŋ</p>
+  <p>naryyspaty ngẽẽty damertaty ngaz ngart nastaty ngaz ngybybak ñaz qeng</p>
+  <il>
+    <w>
+      <o>naˈrɨːsp</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈə̃ːc</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaʈ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈɨbɨbak</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɲaz</o>
+      <g>active.POS.1excl</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</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 adj2noun:

No change.

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>
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module addgender:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

No change.

addclitics:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np role="owner" gender="cl.3" possessor="no.owner" person="1excl">
-      <subs>
-        <np role="owner" gender="cl.3" possessor="no.owner" person="1excl">
-          <subs>
-            <np role="owner" gender="cl.3" possessor="no.owner">
-              <subs>
-                <np def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-                </vp>
-              </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-            <np def="neither" role="owned" locus="number" possessor="3.cl.3" person="1excl" gender="cl.3" case="STA">
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" case="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-            </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-          </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <np def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl">
    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-        </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl">
    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </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="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" case="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a r &#x268;&#x2D0; &#x2C8; s+p">narɨːˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x259;&#x2D0; &#x2C8; p">əːˈp</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" case="STA" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="a &#x2C8; &#x288;">aˈʈ</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl" ph="n a &#x2C8; s+t">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="n a r &#x268;&#x2D0; &#x2C8; s+p">narɨːˈsp</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x259;&#x2D0; &#x2C8; p">əːˈp</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" case="STA" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="&#x259;#&#x2D0; &#x2C8; c">ə#ːˈc</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl" ph="d a m &#x259; &#x2C8; &#x288;">daməˈʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" ph="a &#x2C8; &#x288;">aˈʈ</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl" ph="n a &#x2C8; s+t">naˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl" ph="&#x268; &#x2C8; b &#x268; b a k">ɨˈbɨbak</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl" ph="&#x272; a z">ɲaz</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">narɨːˈsp</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">əːˈp</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" case="STA">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">ə#ːˈc</word>
+    <word posp="noun" gloss="mouse" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl">daməˈʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl">aˈʈ</word>
+    <word posp="noun" gloss="cat" def="def" role="owned" locus="number" gender="cl.1" possessor="3.cl.3" case="STA" person="1excl">naˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" subj="1excl">ɨˈbɨbak</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.1excl">ɲaz</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">qəˈŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naˈrɨːsp&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;-ac&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈəːp&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;ˈqəŋ&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈə̃ːc&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;daˈməʈ&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;-ac&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaʈ&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;ˈnast&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;-ac&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈɨbɨbak&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;ɲaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>naˈrɨːspac ˈŋəːp ˈqəŋ ŋaz ˈŋə̃ːc daˈməʈac ŋaz ˈŋaʈ ˈnastac ŋaz ˈŋɨbɨbak ɲaz ˈqəŋ</p>
+  <p>naryyspaty ngeep qeng ngaz ngẽẽty damertaty ngaz ngart nastaty ngaz ngybybak ñaz qeng</p>
+  <il>
+    <w>
+      <o>naˈrɨːsp</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈəːp</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈə̃ːc</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>daˈməʈ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaʈ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈnast</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈɨbɨbak</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ɲaz</o>
+      <g>active.POS.1excl</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</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 adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module 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"/>
              <word gloss="a" posp="det"/>
            </np>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
          </subs>
        </np>
+      </np>
+    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3"/>
    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.3"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="owner" gender="cl.3" possessor="no.owner">
-      <subs>
-        <np role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="STA"/>
    <word gloss="a" posp="det" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <np def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT">
    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT"/>
    <thingy type="nouncase" function="suffix" gloss="ACT"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </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="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.3"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="STA"/>
-    <word gloss="a" posp="det" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="k &#x268; p &#x268; &#x2C8; &#x14B;">kɨpɨˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3" ph="&#x259; &#x2C8; m a z a x">əˈmazax</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.3" ph="p a &#x288;">paʈ</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
+    <word gloss="a" posp="det" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x14B; a &#x2C8; &#x14B;">ŋaˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1" ph="a&#x2D0; &#x2C8; z">aːˈz</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="k &#x268; p &#x268; &#x2C8; &#x14B;">kɨpɨˈŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3" ph="&#x259; &#x2C8; m a z a x">əˈmazax</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.3" ph="p a &#x288;">paʈ</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="c &#x268; t a &#x2C8; s+k">cɨtaˈsk</word>
-    <thingy type="nouncase" function="suffix" gloss="STA" attach="suffix" ph="a c">ac</thingy>
-    <word gloss="a" posp="det" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="d &#x268; &#x2C8;">dɨˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x14B; a &#x2C8; &#x14B;">ŋaˈŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1" ph="a&#x2D0; &#x2C8; z">aːˈz</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">kɨpɨˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ɨq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.3">əˈmazax</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.3">paʈ</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">cɨtaˈsk</word>
+    <thingy type="nouncase" function="suffix" gloss="STA">ac</thingy>
+    <word gloss="a" posp="det" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">dɨˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">n</thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">ŋaˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ɨq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" indobj="3.cl.1">aːˈz</word>
+    <word posp="noun" gloss="boy" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.cl.3" case="ACT">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kɨˈpɨŋ&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;-ɨq&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈəmazax&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;paʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɨˈtask&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;-ac&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;ˈdɨ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋaŋ&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;-ɨq&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;ˈaːz&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;ˈɟɨst&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;-ɨx&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;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɨˈpɨŋɨq ˈŋəmazax paʈ cɨˈtaskac ˈdɨn ˈŋaŋɨq ˈŋaːz ˈɟɨstɨx ŋaz</p>
+  <p>kypyngyq ngemazakh part tyytaskaty dyn ngangyq ngaaz dyystykh ngaz</p>
+  <il>
+    <w>
+      <o>kɨˈpɨŋ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-ɨq</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈəmazax</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>paʈ</o>
+      <g>active.POS.3.cl.3</g>
+    </w>
+    <w>
+      <o>cɨˈtask</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ac</o>
+      <g>STA</g>
+    </w>
+    <w>
+      <o>ˈdɨ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>ˈŋaŋ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ɨq</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈaːz</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ˈɟɨst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</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 adj2noun:

No change.

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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" tr="rheme" case="STA"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" indobj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="d a &#x2C8; &#x25F;">daˈɟ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" tr="rheme" case="STA" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x14B; a &#x2C8; &#x14B;">ŋaˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" indobj="3.cl.1" subj="3.cl.2" ph="&#x259;#&#x2D0; &#x2C8; q">ə#ːˈq</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="d a &#x2C8; &#x25F;">daˈɟ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="r">r</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" ph="&#x259;&#x2D0; &#x2C8; n">əːˈn</word>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" tr="rheme" case="STA" ph="q &#x259; &#x2C8; &#x14B;">qəˈŋ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS" ph="&#x14B; a z">ŋaz</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x14B; a &#x2C8; &#x14B;">ŋaˈŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x268; q">ɨq</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="&#x14B;">ŋ</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" indobj="3.cl.1" subj="3.cl.2" ph="&#x259;#&#x2D0; &#x2C8; q">ə#ːˈq</word>
-    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2" ph="&#x25F; &#x268; t">ɟɨt</thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x25F; &#x268; &#x2C8; s+t">ɟɨˈst</word>
-    <thingy type="nouncase" function="suffix" gloss="ACT" attach="suffix" ph="&#x268; x">ɨx</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">daˈɟ</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES">r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2">əːˈn</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="owned" locus="number" possessor="3.cl.3" tr="rheme" case="STA">qəˈŋ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.cl.3.POSS">ŋaz</thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">ŋaˈŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ɨq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST">ŋ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl" indobj="3.cl.1" subj="3.cl.2">ə#ːˈq</word>
+    <thingy type="vpvoice.negation.subj" function="enclitic" gloss="active.POS.3.cl.2">ɟɨt</thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">ɟɨˈst</word>
+    <thingy type="nouncase" function="suffix" gloss="ACT">ɨx</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdaɟ&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;r-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈəːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋaz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.3.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈŋaŋ&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;-ɨq&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;ŋ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈə̃ːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟɨt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.3.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɨst&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;-ɨx&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;</p>
+  <p>ˈdaɟ ˈrəːn ˈqəŋ ŋaz ˈŋaŋɨq ˈŋə̃ːq ɟɨt ˈɟɨstɨx</p>
+  <p>dady reen qeng ngaz ngangyq ngẽẽq dyyt dyystykh</p>
+  <il>
+    <w>
+      <o>ˈdaɟ</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>r-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>ˈəːn</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈqəŋ</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>ŋaz</o>
+      <g>3.cl.3.POSS</g>
+    </w>
+    <w>
+      <o>ˈŋaŋ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ɨq</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ŋ-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈə̃ːq</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>ɟɨt</o>
+      <g>active.POS.3.cl.2</g>
+    </w>
+    <w>
+      <o>ˈɟɨst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɨx</o>
+      <g>ACT</g>
+    </w>
+  </il>
</example>