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

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="ABS">
      <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="ERG">
      <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 markowner:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

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="ABS" number="sing" possessor="no.owner" gender="cl.4">
-      <np type="owner_owned" gender="cl.4" number="plur">
+    <np type="owner_owned" gender="cl.4" number="plur" role="obj" tr="rheme" case="ABS" possessor="no.owner">
      <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
        <word posp="noun" gloss="blind" lexposp="adj"/>
      </np>
      <np role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1">
        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </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.4" number="plur" role="obj" tr="rheme" case="ABS" possessor="no.owner">
    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
      <word posp="noun" gloss="blind" lexposp="adj"/>
    </np>
-      <np role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1">
+    <np role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="noun" gloss="mouse"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
  </s>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;&#x255; i &#x292;">t͡ɕiʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="t&#x361;&#x255; i&#x330;">t͡ɕḭ</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="l &#xF8; v">løv</word>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="p a">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner" ph="x i&#x330; &#x288;">xḭʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner" ph="x i b">xib</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x288; a &#x292; au q">ʈaʒauq</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;&#x255; i &#x292;">t͡ɕiʒ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="t&#x361;&#x255; i&#x330;">t͡ɕḭ</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="l &#xF8; v">løv</word>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="p a">pa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner" ph="x i&#x330; &#x288;">xḭʈ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner" ph="x i b">xib</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x288; a &#x292; au q">ʈaʒauq</word>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner">t͡ɕiʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">t͡ɕḭ</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS">ʒuŋ</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">løv</word>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.1" possessor="no.owner">xḭʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.1" possessor="no.owner">xib</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">ṵp</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">ʈaʒauq</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕiʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕḭ&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;-ʒuŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;løv&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;kaɡiːf&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;-a̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&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;woman&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xib&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;ʈaʒauq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ɕiʒuba̰q t͡ɕḭʒuŋ løv kaɡiːfa̰fḭm pavṵfan xḭʈubur xibubṵp ʈaʒauq</p>
+  <p>tyizhuba’q tyi’zhung løv kagiifa’fi’m pavu’fan xi’rtubur xibubu’p rtazhauq</p>
+  <il>
+    <w>
+      <o>t͡ɕiʒ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>t͡ɕḭ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-ʒuŋ</o>
+      <g>cl.4.ABS</g>
+    </w>
+    <w>
+      <o>løv</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-a̰</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-f</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>pa</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>xḭʈ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</g>
+    </w>
+    <w>
+      <o>xib</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ṵp</o>
+      <g>def.LOC</g>
+    </w>
+    <w>
+      <o>ʈaʒauq</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module markowner:

No change.

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hiːwḭt͡ɕix</p>
+  <p>hiiwi’tyix</p>
+  <il>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="love2he" translation="*He* loves her.">
  <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="ABS">
      <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="rheme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="ERG" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="ERG" possessor="no.owner" ph="q i">qi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="ERG" possessor="no.owner" ph="q i">qi</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="ERG" possessor="no.owner">qi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2&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;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hiːwḭt͡ɕix qid</p>
+  <p>hiiwi’tyix qid</p>
+  <il>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</g>
+    </w>
+    <w>
+      <o>qi</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" output="aspron" locus="number" case="ABS">
      <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="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module markowned:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.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" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.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="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.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.sing.cl.1" subj="3.sing.cl.2">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="rheme" role="obj" locus="number" case="ABS" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="rheme" role="obj" locus="number" case="ABS" possessor="no.owner" ph="j &#xF8;">jø</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="rheme" role="obj" locus="number" case="ABS" possessor="no.owner" ph="j &#xF8;">jø</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="rheme" role="obj" locus="number" case="ABS" possessor="no.owner">jø</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1&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;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>jød hiːwḭt͡ɕix</p>
+  <p>yød hiiwi’tyix</p>
+  <il>
+    <w>
+      <o>jø</o>
+      <g>3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="NN1"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Vizhem hates Kagav.">
  <flat>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="Kagav" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner" propernoun="yes" ph="k&#x2B0; a &#x261; a&#x2D0; v">kʰaɡaːv</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="d&#x361;z a t e">d͡zate</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="noun" gloss="Vizhem" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" propernoun="yes" ph="v i &#x292; e m">viʒem</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Vizhem hates Kagav.">
  <flat>
-    <word posp="noun" gloss="Kagav" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner" propernoun="yes" ph="k&#x2B0; a &#x261; a&#x2D0; v">kʰaɡaːv</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2" ph="d&#x361;z a t e">d͡zate</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
-    <word posp="noun" gloss="Vizhem" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" propernoun="yes" ph="v i &#x292; e m">viʒem</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="Kagav" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.1" possessor="no.owner" propernoun="yes">kʰaɡaːv</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.cl.1" subj="3.sing.cl.2">d͡zate</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
+    <word posp="noun" gloss="Vizhem" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" propernoun="yes">viʒem</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰaɡaːv&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kagav&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zate&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;viʒem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Vizhem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰaɡaːvubḭm d͡zatewḭt͡ɕix viʒemubur</p>
+  <p>Khagaavubi’m dzatewi’tyix Vizhemubur</p>
+  <il>
+    <w>
+      <o>kʰaɡaːv</o>
+      <g>Kagav</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>d͡zate</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</g>
+    </w>
+    <w>
+      <o>viʒem</o>
+      <g>Vizhem</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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="ABS">
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module addgender:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="ABS">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+  <np type="owner_owned" case="ABS" gender="cl.2">
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" 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.2">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso1" translation="the boy's apple">
  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" underlying="u">y</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kød&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒasḭʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kødyba̰q d͡ʒasḭʒut͡ʃḭm</p>
+  <p>kødüba’q jasi’zhuchi’m</p>
+  <il>
+    <w>
+      <o>kød</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>d͡ʒasḭʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
    <np number="sing" def="def" output="aspron" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="q i">qi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="q i">qi</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">qi</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ABS">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2&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;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒasḭʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qid d͡ʒasḭʒut͡ʃḭm</p>
+  <p>qid jasi’zhuchi’m</p>
+  <il>
+    <w>
+      <o>qi</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡ʒasḭʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
    <np number="sing" def="neither" locus="number" role="owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/possessor/obligatory
Got 1excl.sing
About to call getSlotValue for apple/noun/def.case/obligatory
Got def.ABS
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS"/>
+    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing"/>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="ABS">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS">d͡ʒ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒasḭʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡ʒasḭʒud͡ʒḭm</p>
+  <p>jasi’zhuji’m</p>
+  <il>
+    <w>
+      <o>d͡ʒasḭʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-d͡ʒ</o>
+      <g>1excl.sing.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="neither" locus="number" role="owner">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
    <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="ERG">
      <np type="owner_owned">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
  </s>
</example>

module markowner:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="obj" case="ABS">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
-          <np number="sing" def="neither" locus="number" role="owner">
+          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
    <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="ERG">
      <np type="owner_owned">
-        <np number="sing" def="def" locus="number" role="owner">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
  </s>
</example>

module addgender:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="obj" case="ABS">
-      <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" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned" case="GEN">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN" 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="ERG">
-      <np type="owner_owned">
-        <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <np type="owner_owned" gender="cl.1">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN" 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="ABS">
-      <np type="owner_owned" gender="cl.2">
-        <np type="owner_owned" role="owner" gender="cl.4">
+    <np role="obj" case="ABS" 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" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN" 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="ERG">
-      <np type="owner_owned" gender="cl.1">
+    <np role="subj" case="ERG" number="sing">
+      <np type="owner_owned" gender="cl.1" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN" 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>

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="obj" case="ABS" number="sing" possessor="no.owner" gender="cl.4">
-      <np type="owner_owned" gender="cl.2" number="sing">
+    <np type="owner_owned" gender="cl.2" number="sing" role="obj" case="ABS" possessor="no.owner">
      <np type="owner_owned" role="owner" gender="cl.4" number="sing">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
          <word posp="noun" gloss="neighbour"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.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" obj="3.sing.cl.4" subj="3.sing.cl.1">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="subj" case="ERG" number="sing" possessor="no.owner" gender="cl.1">
-      <np type="owner_owned" gender="cl.1" number="sing">
+    <np type="owner_owned" gender="cl.1" number="sing" role="subj" case="ERG" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
        <word posp="noun" gloss="hunter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
        <word posp="noun" gloss="daughter"/>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.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.sing.cl.4" subj="3.sing.cl.1"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/possessor/obligatory
Got 2.sing
About to call getSlotValue for neighbour/noun/def.case/obligatory
Got def.GEN
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/possessor/obligatory
Got 3.sing.cl.4
About to call getSlotValue for son/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for kiss/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for kiss/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for hunter/noun/def.case/obligatory
Got def.GEN
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/possessor/obligatory
Got 3.sing.cl.2
About to call getSlotValue for daughter/noun/def.case/obligatory
Got def.ERG
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
    </np>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
+  <flat>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing" ph="&#x261; a&#x330; l e s+&#x288;">ɡa̰lesʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d">d</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS" ph="z i l">zil</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS" attach="suffix" ph="r">r</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="k u t&#x361;&#x283; ai">kut͡ʃai</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG" ph="q i f">qif</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing" ph="&#x261; a&#x330; l e s+&#x288;">ɡa̰lesʈ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d">d</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS" ph="z i l">zil</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS" attach="suffix" ph="r">r</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="k u t&#x361;&#x283; ai">kut͡ʃai</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG" ph="q i f">qif</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">ɡa̰lesʈ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS">d</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">zil</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS">r</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">kut͡ʃai</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ERG">qif</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰lesʈ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zil&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kut͡ʃai&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juhiːd͡z&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qif&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰lesʈuda̰q zilurḭm kut͡ʃaivṵfan juhiːd͡zuba̰q qifut͡ʃur</p>
+  <p>ga’lesrtuda’q ziluri’m kuchaivu’fan yuhiidzuba’q qifuchur</p>
+  <il>
+    <w>
+      <o>ɡa̰lesʈ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>2.sing.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>zil</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>3.sing.cl.4.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>kut͡ʃai</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>juhiːd͡z</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>qif</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4">
+  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" 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:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
  </np>
</example>
calling defaultval for def/
defaultval: noun, def
returning not.def

addaffixes:

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

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS">ʒuŋ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">fima̰ɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS">ad͡ʒ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be&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;-ʒuŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fima̰ɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>beʒuŋ fima̰ɡubad͡ʒ</p>
+  <p>bezhung fima’gubaj</p>
+  <il>
+    <w>
+      <o>be</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ʒuŋ</o>
+      <g>cl.4.ABS</g>
+    </w>
+    <w>
+      <o>fima̰ɡ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ad͡ʒ</o>
+      <g>not.def.ABS</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 RelN:

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="ABS">
    <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 markowner:

No change.

module addgender:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="ABS">
+  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4">
    <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.

createpronouns:

No change.

module markowned:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4">
+  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" 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:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+    <word gloss="a" posp="det"/>
    <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 conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
-    <word gloss="a" posp="det"/>
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>
calling defaultval for def/
defaultval: noun, def
returning not.def

addaffixes:

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

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i &#x292;">iʒ</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i &#x292;">iʒ</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS">ʒuŋ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">fima̰ɡ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">iʒ</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS">ad͡ʒ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be&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;-ʒuŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fima̰ɡ&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;-iʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>beʒuŋ fima̰ɡiʒubad͡ʒ</p>
+  <p>bezhung fima’gizhubaj</p>
+  <il>
+    <w>
+      <o>be</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ʒuŋ</o>
+      <g>cl.4.ABS</g>
+    </w>
+    <w>
+      <o>fima̰ɡ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-iʒ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ad͡ʒ</o>
+      <g>not.def.ABS</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4">
      <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="ERG">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ERG" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4">
      <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="ERG" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.1">
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
  </s>
</example>

module markowned:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" 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" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.1">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+      <word gloss="a" posp="det"/>
      <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" locus="number" case="ERG" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-      </word>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i &#x292;">iʒ</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="v i">vi</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="b e">be</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i &#x292;">iʒ</thingy>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="v i">vi</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS">ʒuŋ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">fima̰ɡ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">iʒ</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS">ad͡ʒ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">vi</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be&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;-ʒuŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fima̰ɡ&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;-iʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vi&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>beʒuŋ fima̰ɡiʒubad͡ʒ vivṵfan</p>
+  <p>bezhung fima’gizhubaj vivu’fan</p>
+  <il>
+    <w>
+      <o>be</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ʒuŋ</o>
+      <g>cl.4.ABS</g>
+    </w>
+    <w>
+      <o>fima̰ɡ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-iʒ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ad͡ʒ</o>
+      <g>not.def.ABS</g>
+    </w>
+    <w>
+      <o>vi</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module markowner:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np role="obj" tr="rheme" case="ABS">
      <np type="owner_owned">
-        <np number="sing" def="def" role="owner">
+        <np number="sing" def="def" role="owner" case="GEN">
          <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" case="ERG">
      <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="ABS">
-      <np type="owner_owned">
+      <np type="owner_owned" gender="cl.4">
        <np number="sing" def="def" role="owner" case="GEN">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
-        <np role="owned" number="sing" locus="number">
+        <np role="owned" number="sing" locus="number" gender="cl.4">
          <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="ERG">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ERG" 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="ABS">
-      <np type="owner_owned" gender="cl.4">
+    <np role="obj" tr="rheme" case="ABS" number="sing">
+      <np type="owner_owned" gender="cl.4" number="sing">
        <np number="sing" def="def" role="owner" case="GEN">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number" gender="cl.4">
          <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="ERG" 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="ABS" number="sing">
      <np type="owner_owned" gender="cl.4" number="sing">
        <np number="sing" def="def" role="owner" case="GEN">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
        <np role="owned" number="sing" locus="number" gender="cl.4">
          <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="ERG" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.1">
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
  </s>
</example>

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
-      <word posp="noun" gloss="black" lexposp="adj"/>
+      <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
    </np>
    <np role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">
-      <word gloss="a" posp="det"/>
-      <word posp="noun" gloss="lamb"/>
+      <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
+      <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.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.sing.cl.4" subj="3.sing.cl.1"/>
    </vp>
  </s>
</example>
calling defaultval for def/
defaultval: noun, def
returning not.def

addaffixes:

About to call getSlotValue for black/noun/number/obligatory
Got sing
About to call getSlotValue for black/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for black/noun/def.case/obligatory
Got def.GEN
About to call getSlotValue for a/det/gender.case/obligatory
Got cl.4.ABS
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
About to call getSlotValue for lamb/noun/possessor/obligatory
Got 3.sing.cl.1
About to call getSlotValue for lamb/noun/def.case/obligatory
Got not.def.ABS
About to call getSlotValue for love/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for love/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
      <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">
      <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
+      <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
      <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
+      <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2b" translation="She loved a black lamb.">
-  <s>
-    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </np>
-    <np role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">
    <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS"/>
-    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
+    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="w i&#x2D0; k">wiːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="b e">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
+    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="w i&#x2D0; k">wiːk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="b e">be</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS" attach="suffix" ph="&#x292; u &#x14B;">ʒuŋ</thingy>
-    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="f i m a&#x330; &#x261;">fima̰ɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner">wiːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word gloss="a" posp="det" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.4.ABS">ʒuŋ</thingy>
+    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.4" possessor="3.sing.cl.1" tr="rheme" case="ABS">fima̰ɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS">ad͡ʒ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.1">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wiːk&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be&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;-ʒuŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fima̰ɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wiːkuba̰q beʒuŋ fima̰ɡufad͡ʒ hiːvṵfan</p>
+  <p>wiikuba’q bezhung fima’gufaj hiivu’fan</p>
+  <il>
+    <w>
+      <o>wiːk</o>
+      <g>black</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>be</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ʒuŋ</o>
+      <g>cl.4.ABS</g>
+    </w>
+    <w>
+      <o>fima̰ɡ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-f</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>-ad͡ʒ</o>
+      <g>not.def.ABS</g>
+    </w>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</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 RelN:

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="ABS">
      <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="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q">t͡ɕaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hiːwḭt͡ɕaɲ</p>
+  <p>hiiwi’tyañ</p>
+  <il>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕaɲ</o>
+      <g>1excl.sing.not.Q</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 RelN:

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

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<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.3">
+    <np def="def" number="sing" locus="number" case="LOC" gender="cl.3" 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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="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/number/obligatory
Got sing
About to call getSlotValue for table/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for table/noun/def.case/obligatory
Got def.LOC
<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.3" possessor="no.owner">
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
    </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" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    </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" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner" ph="d&#x361;z a k&#x2B0;">d͡zakʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="j &#x259;# r">jə#r</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner" ph="d&#x361;z a k&#x2B0;">d͡zakʰ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="j &#x259;# r">jə#r</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.3" possessor="no.owner">d͡zakʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">ṵp</thingy>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes">jə#r</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zakʰ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;jə̃r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zakʰubṵp jə̃r</p>
+  <p>dzakhubu’p yẽr</p>
+  <il>
+    <w>
+      <o>d͡zakʰ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ṵp</o>
+      <g>def.LOC</g>
+    </w>
+    <w>
+      <o>jə̃r</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 RelN:

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

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.2">
      <word posp="noun" gloss="box"/>
    </np>
    <word gloss="to_inside" posp="pp" owner="3s"/>
  </pp>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<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.2">
+    <np def="def" number="sing" locus="number" case="LOC" gender="cl.2" 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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="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/number/obligatory
Got sing
About to call getSlotValue for box/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for box/noun/def.case/obligatory
Got def.LOC
<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.2" possessor="no.owner">
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
    </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" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    </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" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner" ph="p a t&#x361;&#x255; a x">pat͡ɕax</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="h &#xF8;&#x2D0; n">høːn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner" ph="p a t&#x361;&#x255; a x">pat͡ɕax</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="u&#x330; p">ṵp</thingy>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="h &#xF8;&#x2D0; n">høːn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.2" possessor="no.owner">pat͡ɕax</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">ṵp</thingy>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes">høːn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pat͡ɕax&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;høːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pat͡ɕaxubṵp høːn</p>
+  <p>patyaxubu’p høøn</p>
+  <il>
+    <w>
+      <o>pat͡ɕax</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ṵp</o>
+      <g>def.LOC</g>
+    </w>
+    <w>
+      <o>høːn</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 RelN:

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

No change.

module addgender:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner" ph="w y&#x330;">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x288; a &#x292; au q">ʈaʒauq</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner" ph="w y&#x330;">wy̰</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x288; a &#x292; au q">ʈaʒauq</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">ʈaʒauq</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wy̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈaʒauq&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>wy̰d ʈaʒauq</p>
+  <p>wü’d rtazhauq</p>
+  <il>
+    <w>
+      <o>wy̰</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʈaʒauq</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4" ph="n a&#x2D0;">naː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="n a r u p">narup</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4" ph="n a&#x2D0;">naː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="n a r u p">narup</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" subj="3.sing.cl.4">naː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner">narup</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juhiːd͡z&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naː&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;narup&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>juhiːd͡zubḭm naːvṵka̰ɹ narupubur</p>
+  <p>yuhiidzubi’m naavu’ka’ɹ narupubur</p>
+  <il>
+    <w>
+      <o>juhiːd͡z</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>naː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>narup</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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="ABS">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
    <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="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module markowner:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for hunter/noun/def.case/obligatory
Got def.GEN
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/possessor/obligatory
Got 3.sing.cl.2
About to call getSlotValue for daughter/noun/def.case/obligatory
Got def.GEN
About to call getSlotValue for dog/noun/number/obligatory
Got sing
About to call getSlotValue for dog/noun/possessor/obligatory
Got 3.sing.cl.1
About to call getSlotValue for dog/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for eat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for eat/verb/subj.question/obligatory
Got 3.sing.cl.4.not.Q
About to call getSlotValue for lion/noun/number/obligatory
Got sing
About to call getSlotValue for lion/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for lion/noun/def.case/obligatory
Got def.ERG
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
    </np>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2" ph="q i f">qif</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS" ph="z i &#x294;">ziʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4" ph="k&#x2B0; y">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="&#x14B; a t&#x361;&#x283; e &#x261;">ŋat͡ʃeɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2" ph="q i f">qif</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS" ph="z i &#x294;">ziʔ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="&#x14B; a t&#x361;&#x283; e &#x261;">ŋat͡ʃeɡ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2" ph="q i f">qif</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS" ph="z i &#x294;">ziʔ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="&#x14B; a t&#x361;&#x283; e &#x261;">ŋat͡ʃeɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">qif</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ABS">ziʔ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" subj="3.sing.cl.4">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" underlying="v u&#x330;">vy̰</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.4" possessor="no.owner">ŋat͡ʃeɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juhiːd͡z&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qif&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-a̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziʔ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰy&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋat͡ʃeɡ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>juhiːd͡zuba̰q qifut͡ʃa̰q ziʔufḭm kʰyvy̰ka̰ɹ ŋat͡ʃeɡubur</p>
+  <p>yuhiidzuba’q qifucha’q zi’ufi’m khüvü’ka’ɹ ngachegubur</p>
+  <il>
+    <w>
+      <o>juhiːd͡z</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>qif</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>ziʔ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-f</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>kʰy</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>ŋat͡ʃeɡ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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

module markowner:

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

module addgender:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="ABS" 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="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <word posp="noun" gloss="son"/>
  </np>
-      </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">
    <word posp="noun" gloss="friend"/>
  </np>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">
    <word posp="noun" gloss="book"/>
  </np>
-  </np>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="z i l">zil</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d">d</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2" ph="b u q">buq</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS" ph="b u&#x2D0; k">buːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS" attach="suffix" ph="r">r</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="z i l">zil</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d">d</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2" ph="b u q">buq</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="a&#x330; q">a̰q</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS" ph="b u&#x2D0; k">buːk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS" attach="suffix" ph="r">r</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">zil</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS">d</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">buq</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">t͡ʃ</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">a̰q</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="ABS">buːk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.4.POSS">r</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zil&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&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̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buq&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-a̰q&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buːk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ziluda̰q buqut͡ʃa̰q buːkurḭm</p>
+  <p>ziluda’q buqucha’q buukuri’m</p>
+  <il>
+    <w>
+      <o>zil</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>2.sing.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>buq</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>-a̰q</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>buːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-r</o>
+      <g>3.sing.cl.4.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module markowner:

No change.

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

module propagatenumber:

No change.

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 number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" 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.sing.cl.4">
      <word posp="verb" gloss="sleep"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for sleep/verb/ta.mode.voice.negation/obligatory
Got PRES.indicative.active.POS
About to call getSlotValue for sleep/verb/subj.question/obligatory
Got 3.sing.cl.4.not.Q
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cat/noun/def.case/obligatory
Got def.ABS
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
  </s>
</example>

flatten:

<example id="intr_stat" translation="The cat is sleeping.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">
+  <flat>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="&#x272; o">ɲo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="&#x272; o">ɲo</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">ɲo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲo&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲowḭka̰ɹ faɹubḭm</p>
+  <p>ñowi’ka’ɹ faɹubi’m</p>
+  <il>
+    <w>
+      <o>ɲo</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module markowner:

No change.

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

module propagatenumber:

No change.

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 number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" 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.sing.cl.4">
      <word posp="verb" gloss="run"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
+  <flat>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="&#x261; i">ɡi</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="&#x261; i">ɡi</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">ɡi</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡi&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiwḭka̰ɹ faɹubḭm</p>
+  <p>giwi’ka’ɹ faɹubi’m</p>
+  <il>
+    <w>
+      <o>ɡi</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module markowner:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4" ph="t u n i">tuni</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4" ph="t u n i">tuni</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.cl.4" subj="3.sing.cl.4">tuni</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaɡiːf&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tuni&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaɡiːfubḭm tuniwḭka̰ɹ faɹubur</p>
+  <p>kagiifubi’m tuniwi’ka’ɹ faɹubur</p>
+  <il>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>tuni</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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="ABS">
      <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="ERG">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module markowner:

No change.

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.4" ph="p a">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.4" ph="p a">pa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q" attach="suffix" ph="k a&#x330; &#x279;">ka̰ɹ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ABS" gender="cl.4" possessor="no.owner">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="3.sing.cl.4">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.4.not.Q">ka̰ɹ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.4" possessor="no.owner">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaɡiːf&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ka̰ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaɡiːfubḭm pavṵka̰ɹ faɹubur</p>
+  <p>kagiifubi’m pavu’ka’ɹ faɹubur</p>
+  <il>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>pa</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-ka̰ɹ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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="ABS">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
    <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="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

prodrop:

No change.

addclitics:

No change.

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/number/obligatory
Got plur
About to call getSlotValue for jaguar/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for jaguar/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for tiger/noun/number/obligatory
Got plur
About to call getSlotValue for tiger/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for tiger/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for lion/noun/number/obligatory
Got plur
About to call getSlotValue for lion/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for lion/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for kill/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for kill/verb/subj.question/obligatory
Got 3.sing.cl.2.not.Q
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for hunter/noun/def.case/obligatory
Got def.ERG
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
    </np>
  </s>
</example>

flatten:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
-  <s>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
+  <flat>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </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" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="n a r u p">narup</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="conj" gloss="and" ph="q o&#x330; &#x272;">qo̰ɲ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="&#x272; u &#x272; e&#x2D0; &#x14B;">ɲuɲeːŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="conj" gloss="and" ph="q o&#x330; &#x272;">qo̰ɲ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="&#x14B; a t&#x361;&#x283; e &#x261;">ŋat͡ʃeɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2" ph="n a&#x2D0;">naː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</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" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="n a r u p">narup</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="conj" gloss="and" ph="q o&#x330; &#x272;">qo̰ɲ</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="&#x272; u &#x272; e&#x2D0; &#x14B;">ɲuɲeːŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="conj" gloss="and" ph="q o&#x330; &#x272;">qo̰ɲ</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS" ph="&#x14B; a t&#x361;&#x283; e &#x261;">ŋat͡ʃeɡ</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="a&#x330;">a̰</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2" ph="n a&#x2D0;">naː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="j u h i&#x2D0; d&#x361;z">juhiːd͡z</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">narup</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="conj" gloss="and">qo̰ɲ</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">ɲuɲeːŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="conj" gloss="and">qo̰ɲ</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ABS">ŋat͡ʃeɡ</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">a̰</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.cl.4" subj="3.sing.cl.2">naː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">juhiːd͡z</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;narup&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;-a̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qo̰ɲ&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;ɲuɲeːŋ&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;-a̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qo̰ɲ&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;ŋat͡ʃeɡ&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;-a̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naː&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juhiːd͡z&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>narupa̰bḭm qo̰ɲ ɲuɲeːŋa̰bḭm qo̰ɲ ŋat͡ʃeɡa̰bḭm naːvṵt͡ɕix juhiːd͡zubur</p>
+  <p>narupa’bi’m qo’ñ ñuñeenga’bi’m qo’ñ ngachega’bi’m naavu’tyix yuhiidzubur</p>
+  <il>
+    <w>
+      <o>narup</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-a̰</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>qo̰ɲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ɲuɲeːŋ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-a̰</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>qo̰ɲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ŋat͡ʃeɡ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-a̰</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>naː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</g>
+    </w>
+    <w>
+      <o>juhiːd͡z</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</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 RelN:

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="ABS">
      <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="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cat/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for pat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for pat/verb/subj.question/obligatory
Got 1excl.sing.not.Q
<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q">t͡ɕaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰va̰&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>faɹubḭm la̰va̰vṵt͡ɕaɲ</p>
+  <p>faɹubi’m la’va’vu’tyañ</p>
+  <il>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>la̰va̰</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕaɲ</o>
+      <g>1excl.sing.not.Q</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 RelN:

<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">
-          <word posp="noun" gloss="cat"/>
-        </np>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
-      </relp>
+      </subs>
+      <np def="def" number="sing" role="subj" locus="number">
+        <word posp="noun" gloss="cat"/>
      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module markowner:

No change.

module addgender:

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

copyuptophrase:

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

prodrop:

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

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
    </vp>
  </s>
</example>
calling defaultval for subj/
defaultval: verb, subj
returning 3.sing.cl.1

addaffixes:

About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for mouse/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for catch/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for catch/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cat/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for pat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for pat/verb/subj.question/obligatory
Got 1excl.sing.not.Q
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+        <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
+        <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+        <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="p a">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</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" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="p a">pa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.4" possessor="no.owner">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q">t͡ɕaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaɡiːf&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰va̰&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaɡiːfubḭm pavṵfan faɹubḭm la̰va̰vṵt͡ɕaɲ</p>
+  <p>kagiifubi’m pavu’fan faɹubi’m la’va’vu’tyañ</p>
+  <il>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>pa</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>la̰va̰</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕaɲ</o>
+      <g>1excl.sing.not.Q</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 RelN:

<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">
-          <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">
-              <word posp="noun" gloss="mouse"/>
-            </np>
            <np def="def" number="sing" role="obj" locus="number">
              <word posp="noun" gloss="cheese"/>
            </np>
-          </relp>
+          </subs>
+          <np def="def" number="sing" role="subj" locus="number">
+            <word posp="noun" gloss="mouse"/>
          </np>
-      </relp>
        </np>
+      </subs>
+      <np def="def" number="sing" role="subj" locus="number">
+        <word posp="noun" gloss="cat"/>
+      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module markowner:

No change.

module addgender:

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

prodrop:

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

addclitics:

No change.

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="ABS" gender="cl.4" number="sing" possessor="no.owner">
    <subs>
-        <np role="obj" case="ABS" gender="cl.4" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" 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" obj="3.sing.cl.2">
          <word posp="verb" gloss="eat"/>
        </vp>
      </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.4" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
        <word posp="noun" gloss="mouse"/>
      </np>
-        </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
        <word posp="verb" gloss="catch"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
      <word posp="noun" gloss="cat"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <subs>
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
-          <word posp="noun" gloss="cheese"/>
+          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2">
-          <word posp="verb" gloss="eat"/>
+          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
    </vp>
  </s>
</example>
calling defaultval for subj/
defaultval: verb, subj
returning 3.sing.cl.1
calling defaultval for subj/
defaultval: verb, subj
returning 3.sing.cl.1

addaffixes:

About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for cheese/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cheese/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for eat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for eat/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for mouse/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for catch/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for catch/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cat/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for pat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for pat/verb/subj.question/obligatory
Got 1excl.sing.not.Q
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <subs>
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+          <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2">
          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2"/>
+          <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+          <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+        <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
+        <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+        <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <subs>
-      <subs>
-        <np def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
-    </vp>
-  </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" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" ph="k&#x2B0; y">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="p a">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="p a">pa</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="f a &#x279;">faɹ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

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" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" ph="p a">pa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">ta̰ŋøːt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" underlying="u">y</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" underlying="v u&#x330;">vy̰</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q">t͡ɕaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ta̰ŋøːt͡ʃ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰy&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaɡiːf&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰va̰&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ta̰ŋøːt͡ʃybḭm kʰyvy̰fan kaɡiːfubḭm pavṵfan faɹubḭm la̰va̰vṵt͡ɕaɲ</p>
+  <p>ta’ngøøchübi’m khüvü’fan kagiifubi’m pavu’fan faɹubi’m la’va’vu’tyañ</p>
+  <il>
+    <w>
+      <o>ta̰ŋøːt͡ʃ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>kʰy</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>pa</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>la̰va̰</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕaɲ</o>
+      <g>1excl.sing.not.Q</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 RelN:

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

module markowner:

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

prodrop:

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

addclitics:

No change.

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for buy/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for buy/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for cheese/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cheese/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for eat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for eat/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for mouse/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for catch/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for catch/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for cat/noun/def.case/obligatory
Got def.ABS
About to call getSlotValue for pat/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for pat/verb/subj.question/obligatory
Got 1excl.sing.not.Q
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <subs>
      <subs>
        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" person="1excl" gender="cl.1">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
+              <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+              <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
            </vp>
          </subs>
        </np>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl">
          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+          <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
+          <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+          <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+        <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
+        <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+        <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" ph="w y&#x330;">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288; i&#x330;">ʈḭ</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="k&#x2B0; y">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="p a">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="f a &#x279;">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" ph="w y&#x330;">wy̰</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288; i&#x330;">ʈḭ</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="p a">pa</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="f a &#x279;">faɹ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" ph="w y&#x330;">wy̰</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x288; i&#x330;">ʈḭ</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl" ph="t a&#x330; &#x14B; &#xF8;&#x2D0; t&#x361;&#x283;">ta̰ŋøːt͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="k&#x2B0; y">kʰy</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v y&#x330;" underlying="v u&#x330;">vy̰</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="k a &#x261; i&#x2D0; f">kaɡiːf</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="p a">pa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl" ph="f a &#x279;">faɹ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ABS" attach="suffix" ph="i&#x330; m">ḭm</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing" ph="l a&#x330; v a&#x330;">la̰va̰</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q" attach="suffix" ph="t&#x361;&#x255; a &#x272;">t͡ɕaɲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">ʈḭ</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" possessor="no.owner" case="ABS" person="1excl">ta̰ŋøːt͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" underlying="u">y</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">kʰy</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" underlying="v u&#x330;">vy̰</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl">kaɡiːf</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">pa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.4" possessor="no.owner" case="ABS" person="1excl">faɹ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ABS">ḭm</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" subj="1excl.sing">la̰va̰</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="1excl.sing.not.Q">t͡ɕaɲ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wy̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;buy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ta̰ŋøːt͡ʃ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰy&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaɡiːf&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;faɹ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ḭm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰va̰&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕaɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wy̰d ʈḭvṵfan ta̰ŋøːt͡ʃybḭm kʰyvy̰fan kaɡiːfubḭm pavṵfan faɹubḭm la̰va̰vṵt͡ɕaɲ</p>
+  <p>wü’d rti’vu’fan ta’ngøøchübi’m khüvü’fan kagiifubi’m pavu’fan faɹubi’m la’va’vu’tyañ</p>
+  <il>
+    <w>
+      <o>wy̰</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʈḭ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>ta̰ŋøːt͡ʃ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>kʰy</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>kaɡiːf</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>pa</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>faɹ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ḭm</o>
+      <g>def.ABS</g>
+    </w>
+    <w>
+      <o>la̰va̰</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕaɲ</o>
+      <g>1excl.sing.not.Q</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 RelN:

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="ERG">
      <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="ABS">
              <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 markowner:

<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">
      <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="ERG">
      <np type="owner_owned">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" case="GEN">
          <subs>
            <np number="sing" role="obj" locus="number" case="ABS">
              <word posp="noun" gloss="apple"/>
              <word gloss="a" posp="det"/>
            </np>
            <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="ERG">
-      <np type="owner_owned">
-        <np number="sing" def="def" head="this" role="owned" locus="number">
+    <np role="subj" case="ERG" gender="cl.1" 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" case="GEN">
+        <np role="owner" number="sing" case="GEN" gender="cl.1">
          <subs>
-            <np number="sing" role="obj" locus="number" case="ABS">
+            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2">
              <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="ERG" gender="cl.1" 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" case="GEN" gender="cl.1">
          <subs>
            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2">
              <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>

createpronouns:

No change.

module markowned:

<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 number="sing" 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="ERG" gender="cl.1" number="sing">
+    <np role="subj" case="ERG" gender="cl.1" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
-        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2">
+        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="cl.1">
+        <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
          <subs>
-            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2">
+            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
              <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 number="sing" 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:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np number="sing" 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="ERG" gender="cl.1" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
          <subs>
            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
-              <word posp="noun" gloss="apple"/>
              <word gloss="a" posp="det"/>
+              <word posp="noun" gloss="apple"/>
            </np>
            <np number="sing" 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 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 number="sing" 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.sing.cl.1" subj="3.sing.cl.1">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np role="subj" case="ERG" gender="cl.1" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
          <subs>
            <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
              <word gloss="a" posp="det"/>
              <word posp="noun" gloss="apple"/>
            </np>
            <np number="sing" 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.sing.cl.2" indobj="3.sing.cl.1">
              <word posp="verb" gloss="give"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" 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" indobj="3.sing.cl.1" subj="3.sing.cl.1">
      <word posp="verb" gloss="surprise"/>
    </vp>
-    <np role="subj" case="ERG" gender="cl.1" number="sing" possessor="no.owner">
-      <np type="owner_owned" gender="cl.2" number="sing">
+    <np type="owner_owned" gender="cl.2" number="sing" role="subj" case="ERG" possessor="no.owner">
      <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1">
        <word posp="noun" gloss="boy"/>
      </np>
      <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
        <subs>
          <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
            <word gloss="a" posp="det"/>
            <word posp="noun" gloss="apple"/>
          </np>
          <np number="sing" 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" obj="3.sing.cl.2" indobj="3.sing.cl.1">
            <word posp="verb" gloss="give"/>
          </vp>
        </subs>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" 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" indobj="3.sing.cl.1" subj="3.sing.cl.1">
      <word posp="verb" gloss="surprise"/>
    </vp>
-    <np type="owner_owned" gender="cl.2" number="sing" role="subj" case="ERG" possessor="no.owner">
-      <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1">
+    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
      <subs>
        <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" 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" obj="3.sing.cl.2" indobj="3.sing.cl.1">
          <word posp="verb" gloss="give"/>
        </vp>
      </subs>
    </np>
-    </np>
  </s>
</example>

movedowntoword:

<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" possessor="no.owner">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1">
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1"/>
    </vp>
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
      <subs>
        <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="apple"/>
+          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
        </np>
        <np number="sing" 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" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.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.sing.cl.2" indobj="3.sing.cl.1"/>
        </vp>
      </subs>
    </np>
  </s>
</example>
calling defaultval for def/
defaultval: noun, def
returning not.def
calling defaultval for subj/
defaultval: verb, subj
returning 3.sing.cl.1

addaffixes:

About to call getSlotValue for teacher/noun/number/obligatory
Got sing
About to call getSlotValue for teacher/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for teacher/noun/def.case/obligatory
Got def.DAT
About to call getSlotValue for surprise/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for surprise/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/possessor/obligatory
Got 3.sing.cl.1
About to call getSlotValue for boy/noun/def.case/obligatory
Got def.ERG
About to call getSlotValue for a/det/gender.case/obligatory
Got cl.2.ABS
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for apple/noun/def.case/obligatory
Got not.def.ABS
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for girl/noun/possessor/obligatory
Got no.owner
About to call getSlotValue for girl/noun/def.case/obligatory
Got def.DAT
About to call getSlotValue for give/verb/ta.mode.voice.negation/obligatory
Got PAST.indicative.active.POS
About to call getSlotValue for give/verb/subj.question/obligatory
Got 3.sing.cl.1.not.Q
<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" possessor="no.owner">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1"/>
+      <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+      <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
    </vp>
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG">
      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
      <subs>
        <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
+          <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+          <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+          <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1"/>
+          <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
+          <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
        </vp>
      </subs>
    </np>
  </s>
</example>

flatten:

<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" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    </vp>
-    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG">
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    </np>
-    <np role="owner" number="sing" case="GEN" gender="cl.1" possessor="no.owner">
-      <subs>
-        <np number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1"/>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-        </vp>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
-    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="d i t&#x361;&#x283; &#x259;&#x303;&#x2D0; l">dit͡ʃə̃ːl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1" ph="t&#x361;&#x283; i f o">t͡ʃifo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG" ph="k &#xF8; d">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="b e">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS" attach="suffix" ph="v i t&#x361;&#x283;">vit͡ʃ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1" ph="&#x292; o">ʒo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
  </flat>
</example>

vowelharmony:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="d i t&#x361;&#x283; &#x259;&#x303;&#x2D0; l">dit͡ʃə̃ːl</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1" ph="t&#x361;&#x283; i f o">t͡ʃifo</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="b e">be</word>
    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS" attach="suffix" ph="v i t&#x361;&#x283;">vit͡ʃ</thingy>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1" ph="&#x292; o">ʒo</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="d i t&#x361;&#x283; &#x259;&#x303;&#x2D0; l">dit͡ʃə̃ːl</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1" ph="t&#x361;&#x283; i f o">t͡ʃifo</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS" attach="suffix" ph="f">f</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="b e">be</word>
-    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS" attach="suffix" ph="v i t&#x361;&#x283;">vit͡ʃ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner" ph="d&#x361;&#x292; a s i&#x330; &#x292;">d͡ʒasḭʒ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS" attach="suffix" ph="a d&#x361;&#x292;">ad͡ʒ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1" ph="&#x292; o">ʒo</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">dit͡ʃə̃ːl</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT">uq</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.1" subj="3.sing.cl.1">t͡ʃifo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.1" case="ERG">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" underlying="u">y</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.1.POSS">f</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">be</word>
+    <thingy type="detgender.case" function="suffix" gloss="cl.2.ABS">vit͡ʃ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ABS" gender="cl.2" possessor="no.owner">d͡ʒasḭʒ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="not.def.ABS">ad͡ʒ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">qa̰kʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT">uq</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.2" indobj="3.sing.cl.1">ʒo</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dit͡ʃə̃ːl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-uq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;t͡ʃifo&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kød&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be&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;-vit͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒasḭʒ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ad͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.def.&lt;span class="glssc"&gt;ABS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qa̰kʰ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-uq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;ʒo&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>dit͡ʃə̃ːlubuq t͡ʃifovṵfan kødyfur bevit͡ʃ d͡ʒasḭʒubad͡ʒ qa̰kʰubuq ʒovṵfan</p>
+  <p>dichə̃ːlubuq chifovu’fan kødüfur bevich jasi’zhubaj qa’khubuq zhovu’fan</p>
+  <il>
+    <w>
+      <o>dit͡ʃə̃ːl</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-uq</o>
+      <g>def.DAT</g>
+    </w>
+    <w>
+      <o>t͡ʃifo</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>kød</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-f</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</g>
+    </w>
+    <w>
+      <o>be</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-vit͡ʃ</o>
+      <g>cl.2.ABS</g>
+    </w>
+    <w>
+      <o>d͡ʒasḭʒ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ad͡ʒ</o>
+      <g>not.def.ABS</g>
+    </w>
+    <w>
+      <o>qa̰kʰ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-uq</o>
+      <g>def.DAT</g>
+    </w>
+    <w>
+      <o>ʒo</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</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 RelN:

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="ABS">
      <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="ABS">
              <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="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module markowner:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np role="obj" tr="rheme" case="ABS">
      <np type="owner_owned">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" case="GEN">
          <subs>
            <np number="sing" def="neither" role="obj" locus="number" case="ABS">
              <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">
      <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="ERG">
      <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="ABS">
-      <np type="owner_owned">
+    <np role="obj" tr="rheme" case="ABS" gender="cl.1" number="sing">
+      <np type="owner_owned" gender="cl.1" number="sing">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
-        <np role="owner" number="sing" case="GEN">
+        <np role="owner" number="sing" case="GEN" gender="cl.1">
          <subs>
            <np number="sing" def="neither" role="obj" locus="number" case="ABS">
              <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="ERG">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" tr="rheme" case="ABS"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="ABS" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" indobj="3.sing.cl.1" subj="3.sing.cl.2"/>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS"/>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="w y&#x330;">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="ABS" possessor="no.owner" ph="&#x294; au">ʔau</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="h i&#x2D0;">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" indobj="3.sing.cl.1" subj="3.sing.cl.2" ph="&#x272; a">ɲa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

vowelharmony:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="w y&#x330;">wy̰</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="ABS" possessor="no.owner" ph="&#x294; au">ʔau</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="h i&#x2D0;">hiː</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" indobj="3.sing.cl.1" subj="3.sing.cl.2" ph="&#x272; a">ɲa</word>
    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" tr="rheme" case="ABS" ph="w y&#x330;">wy̰</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="ABS" possessor="no.owner" ph="&#x294; au">ʔau</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="d">d</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="h i&#x2D0;">hiː</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS" attach="suffix" ph="w i&#x330;">wḭ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q" attach="suffix" ph="f a n">fan</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="q a&#x330; k&#x2B0;">qa̰kʰ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="u">u</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.DAT" attach="suffix" ph="u q">uq</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" indobj="3.sing.cl.1" subj="3.sing.cl.2" ph="&#x272; a">ɲa</word>
-    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS" attach="suffix" ph="v u&#x330;">vṵ</thingy>
-    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q" attach="suffix" ph="t&#x361;&#x255; i x">t͡ɕix</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="k &#xF8; d">kød</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph="y" underlying="u">y</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="b">b</thingy>
-    <thingy type="noundef.case" function="suffix" gloss="def.ERG" attach="suffix" ph="u r">ur</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="owned" locus="number" possessor="3.sing.cl.1" tr="rheme" case="ABS">wy̰</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="ABS" possessor="no.owner">ʔau</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">d</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">hiː</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PRES.indicative.active.POS">wḭ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.1.not.Q">fan</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">qa̰kʰ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing">u</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.DAT">uq</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" indobj="3.sing.cl.1" subj="3.sing.cl.2">ɲa</word>
+    <thingy type="verbta.mode.voice.negation" function="suffix" gloss="PAST.indicative.active.POS">vṵ</thingy>
+    <thingy type="verbsubj.question" function="suffix" gloss="3.sing.cl.2.not.Q">t͡ɕix</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">kød</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" underlying="u">y</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS">b</thingy>
+    <thingy type="noundef.case" function="suffix" gloss="def.ERG">ur</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wy̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiː&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;-wḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-fan&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qa̰kʰ&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;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-uq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;ɲa&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;-vṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ɕix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kød&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-u&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.&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;-ur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wy̰d ʔaud hiːwḭfan qa̰kʰubuq ɲavṵt͡ɕix kødybur</p>
+  <p>wü’d ’aud hiiwi’fan qa’khubuq ñavu’tyix kødübur</p>
+  <il>
+    <w>
+      <o>wy̰</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʔau</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>hiː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-wḭ</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-fan</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>qa̰kʰ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-uq</o>
+      <g>def.DAT</g>
+    </w>
+    <w>
+      <o>ɲa</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-vṵ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>-t͡ɕix</o>
+      <g>3.sing.cl.2.not.Q</g>
+    </w>
+    <w>
+      <o>kød</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-u</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>no.owner.POSS</g>
+    </w>
+    <w>
+      <o>-ur</o>
+      <g>def.ERG</g>
+    </w>
+  </il>
</example>