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

No change.

module sentenceconnectors:

No change.

module subordinate:

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">
+        <word gloss="COMIT" posp="pp"/>
        <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 constorder:

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

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

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/possessor/optional
Got no.owner
About to call getSlotValue for knife/noun/possessor/optional
Got no.owner
About to call getSlotValue for catch/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for catch/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for yon/det/gender/obligatory
Got cl.2
About to call getSlotValue for yon/det/number/optional
Got plur
About to call getSlotValue for mouse/noun/possessor/optional
Got 3.sing.cl.2
About to call getSlotValue for blind/noun/possessor/optional
Got no.owner
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme">
      <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
+      <thingy type="detgender" function="suffix" gloss="cl.2"/>
+      <thingy type="detnumber" function="suffix" gloss="plur"/>
      <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
      <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
    </np>
    <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="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme">
    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
    <thingy type="detgender" function="suffix" gloss="cl.2"/>
    <thingy type="detnumber" function="suffix" gloss="plur"/>
    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
-    </np>
-    <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="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
-    <thingy type="detgender" function="suffix" gloss="cl.2"/>
-    <thingy type="detnumber" function="suffix" gloss="plur"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner" ph="d&#x361;&#x292; i &#x272;" slots="Cir Cfr">d͡ʒiɲ</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;" slots="Cir Cfr">baːlod͡ʒ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM" ph="m u j" slots="Cir Cfr">muj</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="w a" slots="Cir V1">wa</word>
+    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="u&#x2D0; s" slots="V1 Cfs">uːs</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="s a n" slots="Cfs Cfs">san</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x" slots="Cfr Cfs">miːk͡x</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="m e x" slots="Cir Cfr">mex</word>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;s i w" slots="Cir Cfr">t͡siw</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /x/ > // + /x/
/k/ + /s+q/ > // + /k/
/a/ + /uː/ > // + /o/
/s/ + /s/ > // + /s/
/n/ + /m/ > // + /m/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner" ph="d&#x361;&#x292; i &#x272;" slots="Cir Cfr">d͡ʒiɲ</word>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner" ph="d&#x361;&#x292; i &#x272;">d͡ʒiɲ</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;" slots="Cir Cfr">baːlod͡ʒ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM" ph="m u j" slots="Cir Cfr">muj</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;">baːlod͡ʒ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM" ph="m u j">muj</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="w a" slots="Cir V1">wa</word>
-    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="u&#x2D0; s" slots="V1 Cfs">uːs</thingy>
-    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="s a n" slots="Cfs Cfs">san</thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x" slots="Cfr Cfs">miːk͡x</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="m e x" slots="Cir Cfr">mex</word>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;s i w" slots="Cir Cfr">t͡siw</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="w" underlying="w a">w</word>
+    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="o" underlying="u&#x2D0; s">o</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="s a n">san</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="n i d&#x361;&#x292; e" underlying="n i d&#x361;&#x292; e n">nid͡ʒe</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x">miːk͡x</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="m e x">mex</word>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;s i w">t͡siw</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner" ph="d&#x361;&#x292; i &#x272;">d͡ʒiɲ</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;">baːlod͡ʒ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM" ph="m u j">muj</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="w" underlying="w a">w</word>
-    <thingy type="detgender" function="suffix" gloss="cl.2" attach="suffix" ph="o" underlying="u&#x2D0; s">o</thingy>
-    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="s a n">san</thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="n i d&#x361;&#x292; e" underlying="n i d&#x361;&#x292; e n">nid͡ʒe</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x">miːk͡x</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="m e x">mex</word>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="t&#x361;s i w">t͡siw</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.8" possessor="no.owner">d͡ʒiɲ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">baːlod͡ʒ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.1" possessor="no.owner" case="NOM">muj</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.2" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" underlying="w a">w</word>
+    <thingy type="detgender" function="suffix" gloss="cl.2" underlying="u&#x2D0; s">o</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur">san</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme" underlying="n i d&#x361;&#x292; e n">nid͡ʒe</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">miːk͡x</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.2" possessor="3.sing.cl.2" case="ACC" tr="rheme">mex</word>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner">t͡siw</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒiɲ&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;baːlod͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;muj&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wa&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ːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-san&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;nid͡ʒen&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;-miːk͡x&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;mex&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;t͡siw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡ʒiɲ baːlod͡ʒ muj k͡xeːxikeːs xet͡s wosan nid͡ʒemiːk͡x mex t͡siw</p>
+  <p>جڃ بالج مي کخيخكيس خڅ وسن نجميکخ مخ څو</p>
+  <il>
+    <w>
+      <o>d͡ʒiɲ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>baːlod͡ʒ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>muj</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>xik</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wa</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-uːs</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>-san</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-miːk͡x</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>mex</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>t͡siw</o>
+      <g>blind</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

prodrop:

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

addaffixes:

About to call getSlotValue for love/verb/mode.ta/optional
Got indicative.PRES
About to call getSlotValue for love/verb/voice.question/obligatory
Got active.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" subj="3.sing.cl.6" obj="3.sing.cl.8">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.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" subj="3.sing.cl.6" obj="3.sing.cl.8">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/r/ + /j/ > // + /j/
/ɲ/ + /s+q/ > // + /s+q/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲajasqeːs</p>
+  <p>ڃيسقيس</p>
+  <il>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 3.sing.cl.6/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode.ta/optional
Got indicative.PRES
About to call getSlotValue for love/verb/voice.question/obligatory
Got active.not.Q
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" 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" subj="3.sing.cl.6" obj="3.sing.cl.8">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" 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" subj="3.sing.cl.6" obj="3.sing.cl.8">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

<example id="love2he" translation="*He* loves her.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

applysandhi:

/au/ + /oː/ > // + /au/
/r/ + /j/ > // + /j/
/ɲ/ + /s+q/ > // + /s+q/
<example id="love2he" translation="*He* loves her.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p" underlying="p au">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="au q" underlying="e&#x2D0; q">auq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
  </flat>
</example>

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p" underlying="p au">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="au q" underlying="e&#x2D0; q">auq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" underlying="p au">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">auq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pauq ɲajasqeːs</p>
+  <p>پوق ڃيسقيس</p>
+  <il>
+    <w>
+      <o>pau</o>
+      <g>3.sing.cl.6</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l i" slots="Cir V1">li</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/r/ + /j/ > // + /j/
/ɲ/ + /s+q/ > // + /s+q/
/i/ + /eː/ > // + /e/
<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l i" slots="Cir V1">li</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l" underlying="l i">l</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
  </flat>
</example>

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" ph="j a" underlying="j a &#x272;">ja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l" underlying="l i">l</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.8" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8" def="def" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" underlying="l i">l</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;li&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.8&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲajasqeːs xet͡s leq</p>
+  <p>ڃيسقيس خڅ لق</p>
+  <il>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>li</o>
+      <g>3.sing.cl.8</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="NN1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for NN1/noun/possessor/optional
Got no.owner
About to call getSlotValue for hate/verb/mode.ta/optional
Got indicative.PRES
About to call getSlotValue for hate/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for NN2/noun/possessor/optional
Got no.owner
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Kakhenais hates Nedekh.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="Kakhenais" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" propernoun="yes" ph="k&#x361;x e n ai s" slots="Cir Cfr">k͡xenais</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7" ph="p i&#x2D0; s a p" slots="Cir Cmr">piːsap</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="Nedekh" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner" propernoun="yes" ph="n e d e x" slots="Cir Cfr">nedex</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/r/ + /p/ > // + /b/
/p/ + /s+q/ > // + /p/
<example id="loveprop" translation="Kakhenais hates Nedekh.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="Kakhenais" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" propernoun="yes" ph="k&#x361;x e n ai s" slots="Cir Cfr">k͡xenais</word>
+    <word posp="noun" gloss="Kakhenais" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" propernoun="yes" ph="k&#x361;x e n ai s">k͡xenais</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7" ph="p i&#x2D0; s a p" slots="Cir Cmr">piːsap</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="Nedekh" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner" propernoun="yes" ph="n e d e x" slots="Cir Cfr">nedex</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7" ph="b i&#x2D0; s a" underlying="p i&#x2D0; s a p">biːsa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="p e&#x2D0; s" underlying="s+q e&#x2D0; s">peːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="Nedekh" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner" propernoun="yes" ph="n e d e x">nedex</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Kakhenais hates Nedekh.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="Kakhenais" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" propernoun="yes" ph="k&#x361;x e n ai s">k͡xenais</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7" ph="b i&#x2D0; s a" underlying="p i&#x2D0; s a p">biːsa</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="p e&#x2D0; s" underlying="s+q e&#x2D0; s">peːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="Nedekh" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner" propernoun="yes" ph="n e d e x">nedex</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="Kakhenais" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" propernoun="yes">k͡xenais</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.7" underlying="p i&#x2D0; s a p">biːsa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">peːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="Nedekh" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.7" possessor="no.owner" propernoun="yes">nedex</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xenais&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kakhenais&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;piːsap&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nedex&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Nedekh&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xenais ɲabiːsapeːs xet͡s nedex</p>
+  <p>کخنيس ڃبيسپيس خڅ ندخ</p>
+  <il>
+    <w>
+      <o>k͡xenais</o>
+      <g>Kakhenais</g>
+    </w>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>piːsap</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nedex</o>
+      <g>Nedekh</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="NOM">
    <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="NOM">
-    <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="NOM">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+  <np type="owner_owned" case="NOM" gender="cl.2">
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6">
      <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="NOM" gender="cl.2">
+  <np type="owner_owned" case="NOM" gender="cl.2" number="sing">
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6">
      <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>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM">
-    <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.6" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" 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.6" possessor="no.owner"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /d/ > // + /d/
<example id="posso1" translation="the boy's apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p">dap</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p">dap</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS">dap</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">meb</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qadiːb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-dap&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&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;meb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qadiːdap meb</p>
+  <p>قديدپ مب</p>
+  <il>
+    <w>
+      <o>qadiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-dap</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>meb</o>
+      <g>boy</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="NOM">
    <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="NOM">
-    <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="NOM">
-    <np number="sing" def="def" output="aspron" locus="number" role="owner" case="GEN">
+  <np type="owner_owned" case="NOM" gender="cl.2">
+    <np number="sing" def="def" output="aspron" locus="number" role="owner" case="GEN" gender="cl.6">
      <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="NOM" gender="cl.2">
+  <np type="owner_owned" case="NOM" gender="cl.2" number="sing">
    <np number="sing" def="def" output="aspron" locus="number" role="owner" case="GEN" gender="cl.6">
      <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>

module simplifynumber:

No change.

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM">
-    <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.6" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
  </flat>
</example>

applysandhi:

/b/ + /d/ > // + /d/
/au/ + /oː/ > // + /au/
<example id="posso1b" translation="his (the boy's) apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="p au" slots="Cir V1">pau</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p">dap</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="p" underlying="p au">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="au q" underlying="e&#x2D0; q">auq</thingy>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p">dap</thingy>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="p" underlying="p au">p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="au q" underlying="e&#x2D0; q">auq</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.6" case="NOM" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS">dap</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" underlying="p au">p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">auq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qadiːb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-dap&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&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;pau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qadiːdap pauq</p>
+  <p>قديدپ پوق</p>
+  <il>
+    <w>
+      <o>qadiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-dap</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>pau</o>
+      <g>3.sing.cl.6</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="NOM">
    <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="NOM">
-    <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="NOM">
+  <np type="owner_owned" case="NOM" 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="NOM" gender="cl.2">
+  <np type="owner_owned" case="NOM" 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>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" 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:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso2" translation="my apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM">
-    <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="NOM"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="w i&#x2D0; w" slots="Cfr Cfs">wiːw</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/b/ + /w/ > // + /b/
<example id="posso2" translation="my apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="w i&#x2D0; w" slots="Cfr Cfs">wiːw</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="b i&#x2D0; w" underlying="w i&#x2D0; w">biːw</thingy>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM" ph="q a d i&#x2D0;" underlying="q a d i&#x2D0; b">qadiː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" attach="suffix" ph="b i&#x2D0; w" underlying="w i&#x2D0; w">biːw</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="1excl.sing" case="NOM" underlying="q a d i&#x2D0; b">qadiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="1excl.sing.POSS" underlying="w i&#x2D0; w">biːw</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qadiːb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-wiːw&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;</p>
+  <p>qadiːbiːw</p>
+  <p>قديبيو</p>
+  <il>
+    <w>
+      <o>qadiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-wiːw</o>
+      <g>1excl.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing"/>
    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" ph="p a s+k i k" slots="Cir Cmr">paskik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" ph="r a b ai q" slots="Cir Cfr">rabaiq</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; i n" slots="Cfr Cfs">d͡ʒin</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" ph="p a s+k i k" slots="Cir Cmr">paskik</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" ph="r a b ai q" slots="Cir Cfr">rabaiq</word>
    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; i n" slots="Cfr Cfs">d͡ʒin</thingy>
  </flat>
</example>

applysandhi:

/t/ + /d/ > // + /t/
/x/ + /p/ > // + /p/
/k/ + /s+q/ > // + /k/
/k͡x/ + /t͡ʃ/ > // + /t͡ʃ/
/q/ + /d͡ʒ/ > // + /t͡ʃ/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" ph="&#x272; i&#x2D0;" underlying="&#x272; i&#x2D0; t">ɲiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="t a p" underlying="d a p">tap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" ph="p a s+k i k" slots="Cir Cmr">paskik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" ph="r a b ai q" slots="Cir Cfr">rabaiq</word>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; i n" slots="Cfr Cfs">d͡ʒin</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" ph="p a s+k i" underlying="p a s+k i k">paski</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" ph="r o" underlying="r o k&#x361;x">ro</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" ph="r a b ai" underlying="r a b ai q">rabai</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="t&#x361;&#x283; i n" underlying="d&#x361;&#x292; i n">t͡ʃin</thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" ph="&#x272; i&#x2D0;" underlying="&#x272; i&#x2D0; t">ɲiː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="t a p" underlying="d a p">tap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" ph="p a s+k i" underlying="p a s+k i k">paski</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" ph="r o" underlying="r o k&#x361;x">ro</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" ph="r a b ai" underlying="r a b ai q">rabai</word>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="t&#x361;&#x283; i n" underlying="d&#x361;&#x292; i n">t͡ʃin</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.6" case="NOM" underlying="&#x272; i&#x2D0; t">ɲiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" underlying="d a p">tap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" underlying="w e&#x2D0; q o n">woːqon</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.6" underlying="p a s+k i k">paski</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.8" case="ACC" underlying="r o k&#x361;x">ro</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="2.sing" underlying="r a b ai q">rabai</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" underlying="d&#x361;&#x292; i n">t͡ʃin</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲiːt&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;-dap&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&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;weːqon&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;paskik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rok͡x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃiːt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.8.&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;rabaiq&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;-d͡ʒin&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;</p>
+  <p>ɲiːtap woːqon k͡xeːpaskikeːs xet͡s rot͡ʃuːt͡ʃ rabait͡ʃin</p>
+  <p>ڃيتپ ووقن کخيپسككيس خڅ رچوچ ربيچن</p>
+  <il>
+    <w>
+      <o>ɲiːt</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-dap</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>weːqon</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>paskik</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>rok͡x</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-t͡ʃiːt͡ʃ</o>
+      <g>3.sing.cl.8.POSS</g>
+    </w>
+    <w>
+      <o>rabaiq</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-d͡ʒin</o>
+      <g>2.sing.POSS</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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lamb"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/possessor/optional
Got no.owner
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="lamb0" translation="a lamb">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w">taɲaiw</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w">taɲaiw</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">taɲaiw</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲaiw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>taɲaiw</p>
+  <p>تڃيو</p>
+  <il>
+    <w>
+      <o>taɲaiw</o>
+      <g>lamb</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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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>
  </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>
  </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="NOM">
    <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>
</example>

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <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>
</example>

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="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/possessor/optional
Got no.owner
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" 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="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></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="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t e d" slots="Cfr Cfs">ted</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/w/ + /t/ > // + /d/
<example id="lamb1" translation="a little lamb">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></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="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t e d" slots="Cfr Cfs">ted</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai" underlying="t a &#x272; ai w">taɲai</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d e d" underlying="t e d">ded</thingy>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></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="NOM" gender="cl.3" possessor="no.owner" ph="t a &#x272; ai" underlying="t a &#x272; ai w">taɲai</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d e d" underlying="t e d">ded</thingy>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" underlying="t a &#x272; ai w">taɲai</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t e d">ded</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲaiw&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;-ted&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>taɲaided</p>
+  <p>تڃيدد</p>
+  <il>
+    <w>
+      <o>taɲaiw</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ted</o>
+      <g>little</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"/>
    </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"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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>
    </np>
  </s>
</example>
submodule transform_verb_obj
<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 gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </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"/>
+      <word gloss="lamb" lexposp="noun" posp="verb">
+        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </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"/>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addaffixes:

About to call getSlotValue for lamb/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for lamb/verb/voice.question/obligatory
Got active.not.Q
<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" subj="3.sing.cl.8">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
  </s>
</example>

flatten:

<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" subj="3.sing.cl.8">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8">
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t e d" slots="Cfr Cfs">ted</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="r a&#x2D0; t&#x361;&#x283;" slots="Cfr Cms">raːt͡ʃ</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /t/ > // + /s/
/w/ + /t/ > // + /d/
/d/ + /r/ > // + /d/
/t͡ʃ/ + /s+q/ > // + /s+q/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t e d" slots="Cfr Cfs">ted</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="r a&#x2D0; t&#x361;&#x283;" slots="Cfr Cms">raːt͡ʃ</thingy>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" ph="s a &#x272; ai" underlying="t a &#x272; ai w">saɲai</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d e" underlying="t e d">de</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="d a&#x2D0;" underlying="r a&#x2D0; t&#x361;&#x283;">daː</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" ph="s a &#x272; ai" underlying="t a &#x272; ai w">saɲai</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="d e" underlying="t e d">de</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="d a&#x2D0;" underlying="r a&#x2D0; t&#x361;&#x283;">daː</thingy>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" underlying="t a &#x272; ai w">saɲai</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t e d">de</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" underlying="r a&#x2D0; t&#x361;&#x283;">daː</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲaiw&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;-ted&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;-raːt͡ʃ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːsaɲaidedaːsqeːs</p>
+  <p>کخيسڃيدداسقيس</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>taɲaiw</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ted</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-raːt͡ʃ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.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"/>
        </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"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <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="love"/>
    </vp>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="ACC">
      <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"/>
        </np>
      </np>
    </np>
  </s>
</example>

module markowner:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <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="love"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC">
      <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"/>
        </np>
      </np>
    </np>
  </s>
</example>

module addgender:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="cl.8">
      <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="love"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC">
-      <np type="owner_owned">
+      <np type="owner_owned" gender="cl.3">
        <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.3">
          <word posp="noun" gloss="lamb"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="cl.8">
      <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="love"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC">
-      <np type="owner_owned" gender="cl.3">
+    <np role="obj" tr="rheme" case="ACC" number="sing">
+      <np type="owner_owned" gender="cl.3" 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.3">
          <word posp="noun" gloss="lamb"/>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="cl.8">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.8">
+      <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" number="sing">
      <np type="owner_owned" gender="cl.3" 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.3">
          <word posp="noun" gloss="lamb"/>
        </np>
      </np>
    </np>
  </s>
</example>

module markowned:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.8">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.8" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC" number="sing">
+    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.3" 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.3">
+        <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2">
          <word posp="noun" gloss="lamb"/>
        </np>
      </np>
    </np>
  </s>
</example>

module ngen:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.8" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.8" gloss="3.sing.cl.8"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.3" 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.3" possessor="3.sing.cl.2">
          <word posp="noun" gloss="lamb"/>
        </np>
+        <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
+          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
      </np>
+    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
      <word posp="verb" gloss="love"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner" gender="cl.3">
-      <np type="owner_owned" gender="cl.3" number="sing">
-        <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
+      <np type="owner_owned" gender="cl.3" number="sing" case="ACC">
+        <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC">
          <word posp="noun" gloss="lamb"/>
        </np>
        <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
          <word posp="noun" gloss="black" lexposp="adj"/>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner" gender="cl.3">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <np type="owner_owned" gender="cl.3" number="sing" case="ACC">
+    <np type="owner_owned" gender="cl.3" number="sing" case="ACC" role="obj" tr="rheme" possessor="no.owner">
      <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC">
        <word posp="noun" gloss="lamb"/>
      </np>
      <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
        <word posp="noun" gloss="black" lexposp="adj"/>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
      <word posp="verb" gloss="love"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np type="owner_owned" gender="cl.3" number="sing" case="ACC" role="obj" tr="rheme" possessor="no.owner">
-      <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC">
+    <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme">
      <word posp="noun" gloss="lamb"/>
    </np>
    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
      <word posp="noun" gloss="black" lexposp="adj"/>
    </np>
-    </np>
  </s>
</example>

movedowntoword:

<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
-      <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" subj="3.sing.cl.8" obj="3.sing.cl.3"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme">
-      <word posp="noun" gloss="lamb"/>
+      <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
    </np>
    <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>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for love/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for lamb/noun/possessor/optional
Got 3.sing.cl.2
About to call getSlotValue for black/noun/possessor/optional
Got no.owner
<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme">
      <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
    </np>
    <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="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<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" subj="3.sing.cl.8" obj="3.sing.cl.3">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme">
    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    </np>
-    <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="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2"/>
-    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x" slots="Cfr Cfs">miːk͡x</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="&#x272; a w" slots="Cir Cfr">ɲaw</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /j/ > // + /ɲ/
/ɲ/ + /s+q/ > // + /s+q/
/w/ + /m/ > // + /m/
<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="t a &#x272; ai w" slots="Cir Cfr">taɲaiw</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x" slots="Cfr Cfs">miːk͡x</thingy>
-    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="&#x272; a w" slots="Cir Cfr">ɲaw</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3" ph="&#x272; a" underlying="j a &#x272;">ɲa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="t a &#x272; ai" underlying="t a &#x272; ai w">taɲai</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x">miːk͡x</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="&#x272; a w">ɲaw</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3" ph="&#x272; a" underlying="j a &#x272;">ɲa</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme" ph="t a &#x272; ai" underlying="t a &#x272; ai w">taɲai</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS" attach="suffix" ph="m i&#x2D0; k&#x361;x">miːk͡x</thingy>
-    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="&#x272; a w">ɲaw</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.8" obj="3.sing.cl.3" underlying="j a &#x272;">ɲa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="lamb" role="owned" number="sing" locus="number" gender="cl.3" possessor="3.sing.cl.2" case="ACC" tr="rheme" underlying="t a &#x272; ai w">taɲai</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.2.POSS">miːk͡x</thingy>
+    <word posp="noun" gloss="black" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner">ɲaw</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taɲaiw&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;-miːk͡x&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;ɲaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;black&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːɲasqeːs xet͡s taɲaimiːk͡x ɲaw</p>
+  <p>کخيڃسقيس خڅ تڃيميکخ ڃو</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>taɲaiw</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-miːk͡x</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ɲaw</o>
+      <g>black</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

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

addaffixes:

About to call getSlotValue for love/verb/mode.ta/optional
Got indicative.PRES
About to call getSlotValue for love/verb/voice.question/obligatory
Got active.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" subj="1excl.sing" obj="2.sing">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.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" subj="1excl.sing" obj="2.sing">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/r/ + /j/ > // + /j/
/ɲ/ + /s+q/ > // + /s+q/
<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="j a" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="j a" underlying="j a &#x272;">ja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɲajasqeːs</p>
+  <p>ڃيسقيس</p>
+  <il>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

addaffixes:

About to call getSlotValue for table/noun/possessor/optional
Got no.owner
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="q i &#x272;" slots="Cir Cfr">qiɲ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x272; au l" slots="Cir Cfr">ɲaul</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="q i &#x272;" slots="Cir Cfr">qiɲ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x272; au l" slots="Cir Cfr">ɲaul</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="q i &#x272;">qiɲ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x272; au l">ɲaul</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="q i &#x272;">qiɲ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x272; au l">ɲaul</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">qiɲ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">ɲaul</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲaul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qiɲ ɲaul</p>
+  <p>قڃ ڃول</p>
+  <il>
+    <w>
+      <o>qiɲ</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ɲaul</o>
+      <g>table</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d i&#x2D0; m" slots="Cir Cfr">diːm</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t i&#x2D0; s i" slots="Cir V1">tiːsi</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d i&#x2D0; m" slots="Cir Cfr">diːm</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t i&#x2D0; s i" slots="Cir V1">tiːsi</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d i&#x2D0; m">diːm</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t i&#x2D0; s i">tiːsi</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d i&#x2D0; m">diːm</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t i&#x2D0; s i">tiːsi</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">diːm</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">tiːsi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diːm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiːsi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diːm tiːsi</p>
+  <p>ديم تيس</p>
+  <il>
+    <w>
+      <o>diːm</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>tiːsi</o>
+      <g>box</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;" slots="Cir Cfr">baːlod͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
  </flat>
</example>

vowelharmony:

<example id="adpos3" translation="with me">
  <flat>
    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;" slots="Cir Cfr">baːlod͡ʒ</word>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
  </flat>
</example>

applysandhi:

/u/ + /oː/ > // + /o/
<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;" slots="Cir Cfr">baːlod͡ʒ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;">baːlod͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" ph="k" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="b a&#x2D0; l o d&#x361;&#x292;">baːlod͡ʒ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" ph="k" underlying="k u">k</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">baːlod͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" locus="number" possessor="no.owner" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">oq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;baːlod͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ku&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;-eːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>baːlod͡ʒ koq</p>
+  <p>بالج كق</p>
+  <il>
+    <w>
+      <o>baːlod͡ʒ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ku</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="b a w ai s" slots="Cir Cfr">bawais</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="b a w ai s" slots="Cir Cfr">bawais</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

applysandhi:

/x/ + /k/ > // + /x/
/t͡s/ + /s+q/ > // + /s+q/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="b a w ai s" slots="Cir Cfr">bawais</word>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="b a w ai s">bawais</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" ph="x i" underlying="k i t&#x361;s">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="b a w ai s">bawais</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" ph="x i" underlying="k i t&#x361;s">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">bawais</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.6" underlying="k i t&#x361;s">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" underlying="w e&#x2D0; q o n">woːqon</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bawais&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kit͡s&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;weːqon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bawais k͡xeːxisqeːs xet͡s woːqon</p>
+  <p>بويس کخيخسقيس خڅ ووقن</p>
+  <il>
+    <w>
+      <o>bawais</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>kit͡s</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>weːqon</o>
+      <g>hunter</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/possessor/optional
Got no.owner
About to call getSlotValue for eat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for eat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for dog/noun/possessor/optional
Got 3.sing.cl.8
About to call getSlotValue for daughter/noun/possessor/optional
Got 3.sing.cl.6
About to call getSlotValue for hunter/noun/possessor/optional
Got no.owner
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6"/>
+      <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6"/>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" ph="w a s+p" slots="Cir Cmr">wasp</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" ph="l e m" slots="Cir Cfr">lem</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" ph="w a s+p" slots="Cir Cmr">wasp</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" ph="l e m" slots="Cir Cfr">lem</word>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

applysandhi:

/x/ + /w/ > // + /p/
/s+p/ + /s+q/ > // + /s+p/
/m/ + /t͡ʃ/ > // + /n/
/t/ + /d/ > // + /t/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="&#x261; i b e m">ɡibem</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" ph="w a s+p" slots="Cir Cmr">wasp</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" ph="l e m" slots="Cir Cfr">lem</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="&#x272; i&#x2D0; t" slots="Cir Cfr">ɲiːt</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" ph="p a" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" ph="l e" underlying="l e m">le</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="n i&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">niːt͡ʃ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="&#x272; i&#x2D0;" underlying="&#x272; i&#x2D0; t">ɲiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="t a p" underlying="d a p">tap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="&#x261; i b e m">ɡibem</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" ph="p a" underlying="w a s+p">pa</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" ph="l e" underlying="l e m">le</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="n i&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">niːt͡ʃ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="&#x272; i&#x2D0;" underlying="&#x272; i&#x2D0; t">ɲiː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="t a p" underlying="d a p">tap</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.3" possessor="no.owner">ɡibem</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.8" case="ACC" underlying="l e m">le</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">niːt͡ʃ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" underlying="&#x272; i&#x2D0; t">ɲiː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" underlying="d a p">tap</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" underlying="w e&#x2D0; q o n">woːqon</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡibem&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wasp&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃiːt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.8.&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;ɲiːt&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;-dap&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&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;weːqon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡibem k͡xeːpaspeːs xet͡s leniːt͡ʃ ɲiːtap woːqon</p>
+  <p>گبم کخيپسپيس خڅ لنيچ ڃيتپ ووقن</p>
+  <il>
+    <w>
+      <o>ɡibem</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>wasp</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>lem</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-t͡ʃiːt͡ʃ</o>
+      <g>3.sing.cl.8.POSS</g>
+    </w>
+    <w>
+      <o>ɲiːt</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-dap</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>weːqon</o>
+      <g>hunter</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="NOM">
    <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="NOM">
    <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="NOM">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" case="NOM" gender="cl.8">
+    <np type="owner_owned" role="owner" gender="cl.8">
+      <np type="owner_owned" role="owner" gender="cl.6">
        <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.6">
          <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.8">
        <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.8">
      <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="NOM" gender="cl.8">
-    <np type="owner_owned" role="owner" gender="cl.8">
-      <np type="owner_owned" role="owner" gender="cl.6">
+  <np type="owner_owned" case="NOM" gender="cl.8" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.8" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.6" 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.6">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.8">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="NOM" gender="cl.8" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8">
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM">
      <word posp="noun" gloss="book"/>
    </np>
-    <np type="owner_owned" role="owner" gender="cl.8" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.8" number="sing" case="NOM">
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6">
        <word posp="noun" gloss="friend"/>
      </np>
-      <np type="owner_owned" role="owner" gender="cl.6" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.6" number="sing" case="NOM">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="NOM" gender="cl.8" number="sing">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM">
    <word posp="noun" gloss="book"/>
  </np>
-    <np type="owner_owned" role="owner" gender="cl.8" number="sing" case="NOM">
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6">
    <word posp="noun" gloss="friend"/>
  </np>
-      <np type="owner_owned" role="owner" gender="cl.6" number="sing" case="NOM">
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">
    <word posp="noun" gloss="son"/>
  </np>
-      </np>
-    </np>
-  </np>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6"/>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing"/>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" ph="b u&#x2D0; k" slots="C C">buːk</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="q a s" slots="Cir Cfr">qas</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; i n" slots="Cfr Cfs">d͡ʒin</thingy>
  </flat>
</example>

vowelharmony:

<example id="poss3" translation="your son's friend's book">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" ph="b u&#x2D0; k" slots="C C">buːk</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs">t͡ʃiːt͡ʃ</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="q a s" slots="Cir Cfr">qas</word>
    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; i n" slots="Cfr Cfs">d͡ʒin</thingy>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; u n" slots="Cfr Cfs" underlying="d&#x361;&#x292; i n">d͡ʒun</thingy>
  </flat>
</example>

applysandhi:

/k/ + /t͡ʃ/ > // + /t͡ʃ/
/s/ + /d/ > // + /s/
/k͡x/ + /d͡ʒ/ > // + /t͡ʃ/
<example id="poss3" translation="your son's friend's book">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" ph="b u&#x2D0; k" slots="C C">buːk</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" slots="Cfr Cfs" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="q a s" slots="Cir Cfr">qas</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="d a p" slots="Cfr Cfs">dap</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="r o k&#x361;x" slots="Cir Cfr">rok͡x</word>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="d&#x361;&#x292; u n" slots="Cfr Cfs" underlying="d&#x361;&#x292; i n">d͡ʒun</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" ph="b u&#x2D0;" underlying="b u&#x2D0; k">buː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="q a" underlying="q a s">qa</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="s a p" underlying="d a p">sap</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="r o" underlying="r o k&#x361;x">ro</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="t&#x361;&#x283; u n" underlying="d&#x361;&#x292; i n">t͡ʃun</thingy>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" ph="b u&#x2D0;" underlying="b u&#x2D0; k">buː</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" attach="suffix" ph="t&#x361;&#x283; u&#x2D0; t&#x361;&#x283;" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" ph="q a" underlying="q a s">qa</word>
-    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" attach="suffix" ph="s a p" underlying="d a p">sap</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="r o" underlying="r o k&#x361;x">ro</word>
-    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" attach="suffix" ph="t&#x361;&#x283; u n" underlying="d&#x361;&#x292; i n">t͡ʃun</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" possessor="3.sing.cl.8" case="NOM" underlying="b u&#x2D0; k">buː</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.8.POSS" underlying="t&#x361;&#x283; i&#x2D0; t&#x361;&#x283;">t͡ʃuːt͡ʃ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.8" possessor="3.sing.cl.6" underlying="q a s">qa</word>
+    <thingy type="nounpossessor" function="suffix" gloss="3.sing.cl.6.POSS" underlying="d a p">sap</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" underlying="r o k&#x361;x">ro</word>
+    <thingy type="nounpossessor" function="suffix" gloss="2.sing.POSS" underlying="d&#x361;&#x292; i n">t͡ʃun</thingy>
  </flat>
+  <p>&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;-t͡ʃiːt͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.8.&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;qas&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;-dap&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&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;rok͡x&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;-d͡ʒin&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;</p>
+  <p>buːt͡ʃuːt͡ʃ qasap rot͡ʃun</p>
+  <p>بوچوچ قسپ رچن</p>
+  <il>
+    <w>
+      <o>buːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-t͡ʃiːt͡ʃ</o>
+      <g>3.sing.cl.8.POSS</g>
+    </w>
+    <w>
+      <o>qas</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-dap</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>rok͡x</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-d͡ʒin</o>
+      <g>2.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</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.3" ph="d&#x361;&#x292; u&#x2D0; w" slots="Cir Cmr">d͡ʒuːw</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</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.3" ph="d&#x361;&#x292; u&#x2D0; w" slots="Cir Cmr">d͡ʒuːw</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
  </flat>
</example>

applysandhi:

/r/ + /d͡ʒ/ > // + /r/
/w/ + /s+q/ > // + /s+q/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</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.3" ph="d&#x361;&#x292; u&#x2D0; w" slots="Cir Cmr">d͡ʒuːw</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</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.3" ph="r u&#x2D0;" underlying="d&#x361;&#x292; u&#x2D0; w">ruː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" underlying="s+q e&#x2D0; s">sqoːs</thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</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.3" ph="r u&#x2D0;" underlying="d&#x361;&#x292; u&#x2D0; w">ruː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" underlying="s+q e&#x2D0; s">sqoːs</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</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.3" underlying="d&#x361;&#x292; u&#x2D0; w">ruː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">sqoːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒuːw&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaip ɲaruːsqoːs</p>
+  <p>قيپ ڃروسقوس</p>
+  <il>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>d͡ʒuːw</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" ph="b &#x259;# s+t" slots="Cir Cmr">bə#st</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s+t/ + /s+q/ > // + /s+q/
<example id="intr_act" translation="The cat is running.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" ph="b &#x259;# s+t" slots="Cir Cmr">bə#st</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" ph="b &#x259;#" underlying="b &#x259;# s+t">bə#</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" ph="b &#x259;#" underlying="b &#x259;# s+t">bə#</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">qaip</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" underlying="b &#x259;# s+t">bə#</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;bə̃st&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaip bə̃sqeːs</p>
+  <p>قيپ بںسقيس</p>
+  <il>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>bə̃st</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module propagatenumber:

No change.

module simplifynumber:

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="subj" tr="theme" locus="number" case="NOM" gender="cl.3">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="chase"/>
    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </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="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="s a &#x272; i&#x2D0; &#x261;" slots="Cir Cmr">saɲiːɡ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ɡ/ + /s+q/ > // + /s+q/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="s a &#x272; i&#x2D0; &#x261;" slots="Cir Cmr">saɲiːɡ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="s a &#x272; i&#x2D0;" underlying="s a &#x272; i&#x2D0; &#x261;">saɲiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="s a &#x272; i&#x2D0;" underlying="s a &#x272; i&#x2D0; &#x261;">saɲiː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">qaip</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.3" obj="3.sing.cl.2" underlying="s a &#x272; i&#x2D0; &#x261;">saɲiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">nid͡ʒen</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;saɲiːɡ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nid͡ʒen&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaip saɲiːsqeːs xet͡s nid͡ʒen</p>
+  <p>قيپ سڃيسقيس خڅ نجن</p>
+  <il>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>saɲiːɡ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /x/ > // + /x/
/k/ + /s+q/ > // + /k/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.3" possessor="no.owner">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.2" possessor="no.owner">nid͡ʒen</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nid͡ʒen&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qaip k͡xeːxikeːs xet͡s nid͡ʒen</p>
+  <p>قيپ کخيخكيس خڅ نجن</p>
+  <il>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>xik</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="b a w ai s" slots="Cir Cfr">bawais</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d&#x361;&#x292; a&#x2D0; s+t u r" slots="Cir Cfr">d͡ʒaːstur</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w e&#x2D0; q o n" slots="Cir Cfr">weːqon</word>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="b a w ai s" slots="Cir Cfr">bawais</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d&#x361;&#x292; a&#x2D0; s+t u r" slots="Cir Cfr">d͡ʒaːstur</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

applysandhi:

/x/ + /k/ > // + /x/
/t͡s/ + /s+q/ > // + /s+q/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" slots="Cir Cfr" underlying="w e&#x2D0; q o n">woːqon</word>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" ph="k i t&#x361;s" slots="Cir Cmr">kit͡s</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="b a w ai s" slots="Cir Cfr">bawais</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" ph="x i" underlying="k i t&#x361;s">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="b a w ai s">bawais</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d&#x361;&#x292; a&#x2D0; s+t u r" slots="Cir Cfr">d͡ʒaːstur</word>
+    <word posp="conj" gloss="and" ph="t&#x361;s a q">t͡saq</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d&#x361;&#x292; a&#x2D0; s+t u r">d͡ʒaːstur</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;s a q" slots="Cir Cfr">t͡saq</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x261; i b e m" slots="Cir Cfr">ɡibem</word>
+    <word posp="conj" gloss="and" ph="t&#x361;s a q">t͡saq</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x261; i b e m">ɡibem</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="w o&#x2D0; q o n" underlying="w e&#x2D0; q o n">woːqon</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" ph="x i" underlying="k i t&#x361;s">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="b a w ai s">bawais</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;s a q">t͡saq</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d&#x361;&#x292; a&#x2D0; s+t u r">d͡ʒaːstur</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;s a q">t͡saq</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x261; i b e m">ɡibem</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" underlying="w e&#x2D0; q o n">woːqon</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.3" underlying="k i t&#x361;s">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">bawais</word>
+    <word posp="conj" gloss="and">t͡saq</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC">d͡ʒaːstur</word>
+    <word posp="conj" gloss="and">t͡saq</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="ACC">ɡibem</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;weːqon&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kit͡s&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bawais&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡saq&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;d͡ʒaːstur&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;t͡saq&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;ɡibem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>woːqon k͡xeːxisqeːs xet͡s bawais t͡saq d͡ʒaːstur t͡saq ɡibem</p>
+  <p>ووقن کخيخسقيس خڅ بويس څق جاستر څق گبم</p>
+  <il>
+    <w>
+      <o>weːqon</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>kit͡s</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>bawais</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>t͡saq</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>d͡ʒaːstur</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>t͡saq</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ɡibem</o>
+      <g>lion</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /t͡s/ > // + /s/
/d/ + /s+q/ > // + /d/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.3" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.3" possessor="no.owner">qaip</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sixiːd&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːsixiːdeːs xet͡s qaip</p>
+  <p>کخيسخيديس خڅ قيپ</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>t͡sixiːd</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>qaip</o>
+      <g>cat</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 NRel:

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" 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 sentenceconnectors:

No change.

module subordinate:

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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module addgender:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+    <np id="parent" gender="cl.3">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC">
+        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.3">
+    <np id="parent" gender="cl.3" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.3" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
+    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2">
+        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </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 number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" 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" subj="1excl.sing"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for pat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for cat/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for catch/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for mouse/noun/possessor/optional
Got no.owner
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
+          <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
+          <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /t͡s/ > // + /s/
/d/ + /s+q/ > // + /d/
/ə#ː/ + /eː/ > // + /e/
/x/ + /x/ > // + /x/
/k/ + /s+q/ > // + /k/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i k" slots="Cir Cmr">xik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" ph="x i" underlying="x i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner">qaip,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" comma="after">nid͡ʒen</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sixiːd&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nid͡ʒen&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːsixiːdeːs qaip, deq k͡xeːxikeːs xet͡s nid͡ʒen</p>
+  <p>کخيسخيديس قيپ, دق کخيخكيس خڅ نجن</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>t͡sixiːd</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>xik</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</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 NRel:

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" 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 sentenceconnectors:

No change.

module subordinate:

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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number">
+            <np def="def" number="sing" role="obj" locus="number" case="ACC">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </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 number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+    <np id="parent" gender="cl.3">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <np id="parent" gender="cl.2">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number" case="ACC">
+            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.3">
+    <np id="parent" gender="cl.3" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.2">
+        <np id="parent" gender="cl.2" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
+              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
+              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
+        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" 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" subj="1excl.sing"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="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" subj="3.sing.cl.2" obj="3.sing.cl.4"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for pat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for cat/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for catch/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for mouse/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for eat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for eat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for cheese/noun/possessor/optional
Got no.owner
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
+          <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
+          <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
+            <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
+              <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4"/>
+              <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+              <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i k" slots="Cir Cmr">xik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4" ph="w a s+p" slots="Cir Cmr">wasp</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after" ph="d e d ai &#x261;" slots="Cir Cfr">dedaiɡ</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/x/ + /t͡s/ > // + /s/
/d/ + /s+q/ > // + /d/
/ə#ː/ + /eː/ > // + /e/
/x/ + /x/ > // + /x/
/k/ + /s+q/ > // + /k/
/ə#ː/ + /eː/ > // + /e/
/x/ + /w/ > // + /p/
/s+p/ + /s+q/ > // + /s+p/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i k" slots="Cir Cmr">xik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4" ph="w a s+p" slots="Cir Cmr">wasp</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after" ph="d e d ai &#x261;" slots="Cir Cfr">dedaiɡ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4" ph="p a" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after" ph="d e d ai &#x261;">dedaiɡ</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i" underlying="x i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4" ph="p a" underlying="w a s+p">pa</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after" ph="d e d ai &#x261;">dedaiɡ</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner">qaip,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner">nid͡ʒen,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.4" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" comma="after">dedaiɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sixiːd&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nid͡ʒen&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;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wasp&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dedaiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːsixiːdeːs qaip, deq k͡xeːxikeːs nid͡ʒen, deq k͡xeːpaspeːs xet͡s dedaiɡ</p>
+  <p>کخيسخيديس قيپ, دق کخيخكيس نجن, دق کخيپسپيس خڅ دديگ</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>t͡sixiːd</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>xik</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>wasp</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>dedaiɡ</o>
+      <g>cheese</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 NRel:

<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>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
-              <word posp="noun" gloss="mouse"/>
+            <np id="parent">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+                <word posp="noun" gloss="cheese"/>
              </np>
-            <np role="obj">
-              <relp>
+              <relp comma="after">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                  <word posp="pron" gloss="RELPRON"/>
+                </np>
                <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 sentenceconnectors:

No change.

module subordinate:

No change.

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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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">
+                <np number="sing" def="neither" role="subj" locus="number" case="NOM">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+    <np id="parent" gender="cl.3">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <np id="parent" gender="cl.2">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <np id="parent" gender="cl.4">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM">
+                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.3">
+    <np id="parent" gender="cl.3" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.2">
+        <np id="parent" gender="cl.2" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent" gender="cl.4">
+            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM" gender="cl.4">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

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 number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.3" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
+    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.2" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2">
+        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent" gender="cl.4" number="sing">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
+            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM" gender="cl.4">
+                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </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 number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <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" case="NOM" gender="cl.4" possessor="no.owner">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </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 number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </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="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
+                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </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 number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </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="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
+              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
+                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
                  <word posp="pron" gloss="RELPRON"/>
                </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="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
+                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.2" number="sing" possessor="no.owner">
+        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+            <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
                  <word posp="pron" gloss="RELPRON"/>
                </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="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" 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" subj="1excl.sing"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="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" subj="3.sing.cl.2"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" 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="buy"/>
+                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for pat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for cat/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for catch/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for catch/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for mouse/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for eat/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for eat/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for cheese/noun/possessor/optional
Got no.owner
About to call getSlotValue for RELPRON/pron/number/obligatory
Got sing
About to call getSlotValue for buy/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for buy/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
+        <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
+          <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
+          <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
        </vp>
        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
+            <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
+              <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2"/>
+              <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
+                <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
+                  <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
+                  <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.2" number="sing" possessor="no.owner" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-            </vp>
-            <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="NOM">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i k" slots="Cir Cmr">xik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" ph="w a s+p" slots="Cir Cmr">wasp</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="d e d ai &#x261;" slots="Cir Cfr">dedaiɡ</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="k i k" slots="Cir Cmr">kik</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="k u" slots="Cir V1">ku</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i k" slots="Cir Cmr">xik</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" ph="w a s+p" slots="Cir Cmr">wasp</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="d e d ai &#x261;" slots="Cir Cfr">dedaiɡ</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="k i k" slots="Cir Cmr">kik</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
  </flat>
</example>

applysandhi:

/x/ + /t͡s/ > // + /s/
/d/ + /s+q/ > // + /d/
/ə#ː/ + /eː/ > // + /e/
/x/ + /x/ > // + /x/
/k/ + /s+q/ > // + /k/
/ə#ː/ + /eː/ > // + /e/
/x/ + /w/ > // + /p/
/s+p/ + /s+q/ > // + /s+p/
/ə#ː/ + /eː/ > // + /e/
/x/ + /k/ > // + /x/
/k/ + /s+q/ > // + /k/
/u/ + /oː/ > // + /o/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x361;s i x i&#x2D0; d" slots="Cir Cmr">t͡sixiːd</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p" slots="Cir Cfr">qaip</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i k" slots="Cir Cmr">xik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n" slots="Cir Cfr">nid͡ʒen</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" ph="w a s+p" slots="Cir Cmr">wasp</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="d e d ai &#x261;" slots="Cir Cfr">dedaiɡ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" ph="p a" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="d e d ai &#x261;">dedaiɡ</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" ph="d &#x259;#&#x2D0;" slots="Cir V1">də#ː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="k i k" slots="Cir Cmr">kik</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="x i" underlying="k i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="k" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="s i x i&#x2D0;" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="d e&#x2D0; s" underlying="s+q e&#x2D0; s">deːs</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="q ai p">qaip</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="x i" underlying="x i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner" ph="n i d&#x361;&#x292; e n">nid͡ʒen</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" ph="p a" underlying="w a s+p">pa</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+p e&#x2D0; s" underlying="s+q e&#x2D0; s">speːs</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="d e d ai &#x261;">dedaiɡ</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" ph="d" underlying="d &#x259;#&#x2D0;">d</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e q" underlying="e&#x2D0; q">eq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="x i" underlying="k i k">xi</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="k e&#x2D0; s" underlying="s+q e&#x2D0; s">keːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="k" underlying="k u">k</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" underlying="t&#x361;s i x i&#x2D0; d">sixiː</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">deːs</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner">qaip,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.3" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" underlying="x i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.2" possessor="no.owner">nid͡ʒen,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.2" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" underlying="w a s+p">pa</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">speːs</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner">dedaiɡ,</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.4" possessor="no.owner" underlying="d &#x259;#&#x2D0;">d</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">eq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" underlying="k i k">xi</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">keːs</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">oq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sixiːd&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qaip&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;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nid͡ʒen&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;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wasp&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dedaiɡ&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;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;də̃ː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-eːq&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kik&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ku&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;-eːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xeːsixiːdeːs qaip, deq k͡xeːxikeːs nid͡ʒen, deq k͡xeːpaspeːs dedaiɡ, xet͡s deq k͡xeːxikeːs koq</p>
+  <p>کخيسخيديس قيپ, دق کخيخكيس نجن, دق کخيپسپيس دديگ, خڅ دق کخيخكيس كق</p>
+  <il>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>t͡sixiːd</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>qaip</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>xik</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>nid͡ʒen</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>wasp</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>dedaiɡ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>də̃ː</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>kik</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>ku</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</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"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

prodrop:

No change.

addclitics:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="boy"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2">
          <word posp="verb" gloss="give"/>
+          <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="apple"/>
        </np>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
+      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2"/>
          <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
        </np>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8">
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for boy/noun/possessor/optional
Got no.owner
About to call getSlotValue for give/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for give/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for girl/noun/possessor/optional
Got no.owner
About to call getSlotValue for apple/noun/possessor/optional
Got no.owner
About to call getSlotValue for surprise/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for surprise/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for teacher/noun/possessor/optional
Got no.owner
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2">
+          <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2"/>
+          <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
          <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
        </np>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-        </np>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" ph="t o &#x261;" slots="Cir Cmr">toɡ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" ph="d&#x361;&#x292; a&#x2D0; j a s" slots="Cir Cmr">d͡ʒaːjas</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="d i&#x2D0; t&#x361;&#x283; &#x259;&#x303;&#x2D0; l" slots="C C">diːt͡ʃə̃ːl</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

vowelharmony:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0; x" slots="Cip Cir" underlying="k&#x361;x e&#x2D0; x">k͡xoːx</thingy>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" ph="t o &#x261;" slots="Cir Cmr">toɡ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" ph="d&#x361;&#x292; a&#x2D0; j a s" slots="Cir Cmr">d͡ʒaːjas</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="d i&#x2D0; t&#x361;&#x283; &#x259;&#x303;&#x2D0; l" slots="C C">diːt͡ʃə̃ːl</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

applysandhi:

/x/ + /t/ > // + /s/
/ɡ/ + /s+q/ > // + /s+q/
/x/ + /d͡ʒ/ > // + /t͡ʃ/
/s/ + /s+q/ > // + /s/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0; x" slots="Cip Cir" underlying="k&#x361;x e&#x2D0; x">k͡xoːx</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" ph="t o &#x261;" slots="Cir Cmr">toɡ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" ph="s o" underlying="t o &#x261;">so</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" underlying="s+q e&#x2D0; s">sqoːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q">meːq</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="q a d i&#x2D0; b" slots="Cir Cfr">qadiːb</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="q a d i&#x2D0; b">qadiːb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" ph="d&#x361;&#x292; a&#x2D0; j a s" slots="Cir Cmr">d͡ʒaːjas</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="d i&#x2D0; t&#x361;&#x283; &#x259;&#x303;&#x2D0; l" slots="C C">diːt͡ʃə̃ːl</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" ph="t&#x361;&#x283; a&#x2D0; j a" underlying="d&#x361;&#x292; a&#x2D0; j a s">t͡ʃaːja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s e&#x2D0; s" underlying="s+q e&#x2D0; s">seːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="d i&#x2D0; t&#x361;&#x283; &#x259;&#x303;&#x2D0; l">diːt͡ʃə̃ːl</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" ph="s o" underlying="t o &#x261;">so</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" underlying="s+q e&#x2D0; s">sqoːs</thingy>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b">wab</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q">meːq</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="q a d i&#x2D0; b">qadiːb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" ph="t&#x361;&#x283; a&#x2D0; j a" underlying="d&#x361;&#x292; a&#x2D0; j a s">t͡ʃaːja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s e&#x2D0; s" underlying="s+q e&#x2D0; s">seːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="d i&#x2D0; t&#x361;&#x283; &#x259;&#x303;&#x2D0; l">diːt͡ʃə̃ːl</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">meb</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="3.sing.cl.2" underlying="t o &#x261;">so</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">sqoːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.8" possessor="no.owner">meːq</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">qadiːb</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xeː</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.8" underlying="d&#x361;&#x292; a&#x2D0; j a s">t͡ʃaːja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">seːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">diːt͡ʃə̃ːl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meb&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;toɡ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wab&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xaːt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meːq&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;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qadiːb&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒaːjas&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xaːt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diːt͡ʃə̃ːl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>meb k͡xoːsosqoːs wab k͡xaːt͡s meːq xet͡s qadiːb k͡xeːt͡ʃaːjaseːs k͡xaːt͡s diːt͡ʃə̃ːl</p>
+  <p>مب کخوسسقوس وب کخاڅ ميق خڅ قديب کخيچايسيس کخاڅ ديچə̃ːل</p>
+  <il>
+    <w>
+      <o>meb</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>toɡ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>wab</o>
+      <g>POS.COMP</g>
+    </w>
+    <w>
+      <o>k͡xaːt͡s</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>meːq</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>qadiːb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>d͡ʒaːjas</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>k͡xaːt͡s</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>diːt͡ʃə̃ːl</o>
+      <g>teacher</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/possessor/optional
Got no.owner
About to call getSlotValue for tell/verb/mode.ta/optional
Got indicative.PAST
About to call getSlotValue for tell/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for girl/noun/possessor/optional
Got no.owner
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode.ta/optional
Got indicative.PRES
About to call getSlotValue for love/verb/voice.question/obligatory
Got active.not.Q
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing">
+      <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing"/>
+      <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
+      <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
    </np>
    <np role="obj" tr="rheme" case="ACC" gender="cl.2" number="sing" possessor="no.owner" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" 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" comp="COMP" subj="1excl.sing" obj="2.sing">
+          <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing"/>
+          <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
          <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" person="2">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="quot1" translation="The boy told the girl that he loved her.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    </np>
-    <np role="obj" tr="rheme" case="ACC" gender="cl.2" number="sing" possessor="no.owner" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" 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" comp="COMP" subj="1excl.sing" obj="2.sing">
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" person="2">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q"/>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" ph="w au q" slots="Cir Cmr">wauq</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
+    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="x u&#x2D0;" slots="Cir V1">xuː</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
  </flat>
</example>

vowelharmony:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x e&#x2D0; x" slots="Cip Cir">k͡xeːx</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0; x" slots="Cip Cir" underlying="k&#x361;x e&#x2D0; x">k͡xoːx</thingy>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" ph="w au q" slots="Cir Cmr">wauq</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="x u&#x2D0;" slots="Cir V1">xuː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="e&#x2D0; q" slots="V1 Cfs">eːq</thingy>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
  </flat>
</example>

applysandhi:

/x/ + /w/ > // + /p/
/q/ + /s+q/ > // + /q/
/u/ + /oː/ > // + /o/
/r/ + /j/ > // + /j/
/ɲ/ + /s+q/ > // + /s+q/
/uː/ + /oː/ > // + /o/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b" slots="Cir Cfr">meb</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0; x" slots="Cip Cir" underlying="k&#x361;x e&#x2D0; x">k͡xoːx</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" ph="w au q" slots="Cir Cmr">wauq</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q o&#x2D0; s" slots="Cmr Cfs" underlying="s+q e&#x2D0; s">sqoːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s" slots="Cip Cfp">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q" slots="Cir Cfr">meːq</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" ph="p au" underlying="w au q">pau</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="q o&#x2D0; s" underlying="s+q e&#x2D0; s">qoːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q">meːq</word>
    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k u" slots="Cir V1">ku</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a r" slots="Cip Cir">ɲar</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" ph="j a &#x272;" slots="Cir Cmr">jaɲ</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s" slots="Cmr Cfs">sqeːs</thingy>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b" slots="Cis Cfs">wab</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s" slots="Cip Cfp">xet͡s</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="x u&#x2D0;" slots="Cir V1">xuː</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o&#x2D0; q" slots="V1 Cfs" underlying="e&#x2D0; q">oːq</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" ph="j a" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="x" underlying="x u&#x2D0;">x</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="m e b">meb</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" attach="prefix" ph="k&#x361;x o&#x2D0;" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" ph="p au" underlying="w au q">pau</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="q o&#x2D0; s" underlying="s+q e&#x2D0; s">qoːs</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k&#x361;x a&#x2D0; t&#x361;s">k͡xaːt͡s</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner" ph="m e&#x2D0; q">meːq</word>
-    <thingy type="nounpossessor" function="suffix" gloss="no.owner.POSS" attach="suffix" ph="" slots="Cfr V2"></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k" underlying="k u">k</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
-    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" attach="prefix" ph="&#x272; a" underlying="&#x272; a r">ɲa</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" ph="j a" underlying="j a &#x272;">ja</word>
-    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" attach="suffix" ph="s+q e&#x2D0; s">sqeːs</thingy>
-    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP" ph="w a b">wab</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x e t&#x361;s">xet͡s</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="x" underlying="x u&#x2D0;">x</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="o q" underlying="e&#x2D0; q">oq</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">meb</word>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PAST" underlying="k&#x361;x e&#x2D0; x">k͡xoː</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.8" obj="1excl.sing" underlying="w au q">pau</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q" underlying="s+q e&#x2D0; s">qoːs</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">k͡xaːt͡s</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.8" possessor="no.owner">meːq</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.8" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" underlying="k u">k</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">oq</thingy>
+    <thingy type="verbmode.ta" function="prefix" gloss="indicative.PRES" underlying="&#x272; a r">ɲa</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing" underlying="j a &#x272;">ja</word>
+    <thingy type="verbvoice.question" function="suffix" gloss="active.not.Q">sqeːs</thingy>
+    <thingy type="vpnegation.comp" function="enclitic" gloss="POS.COMP">wab</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xet͡s</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.8" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" underlying="x u&#x2D0;">x</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" underlying="e&#x2D0; q">oq</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meb&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;k͡xeːx-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wauq&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xaːt͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;meːq&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;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ku&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;-eːq&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;ɲar-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɲ&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;-sqeːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wab&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;.&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xet͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xuː&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;-eːq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>meb k͡xoːpauqoːs k͡xaːt͡s meːq xet͡s koq ɲajasqeːs wab xet͡s xoq</p>
+  <p>مب کخوپوقوس کخاڅ ميق خڅ كق ڃيسقيس وب خڅ خق</p>
+  <il>
+    <w>
+      <o>meb</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>k͡xeːx-</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>wauq</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>k͡xaːt͡s</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>meːq</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ku</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɲar-</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>jaɲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sqeːs</o>
+      <g>active.not.Q</g>
+    </w>
+    <w>
+      <o>wab</o>
+      <g>POS.COMP</g>
+    </w>
+    <w>
+      <o>xet͡s</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>xuː</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-eːq</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>