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

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

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

addaffixes:

About to call getSlotValue for woman/noun/case/obligatory
Got NOM
About to call getSlotValue for knife/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for blind/noun/case/obligatory
Got GEN
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
About to call getSlotValue for yon/det/number/obligatory
Got plur
<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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
+          <thingy type="nouncase" function="prefix" gloss="NOM"/>
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
        </np>
        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="owner" case="GEN">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
      <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
    </np>
    <np role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
      <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
+      <thingy type="detnumber" function="prefix" gloss="plur"/>
      <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-        </np>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="owner" case="GEN">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
-    </np>
-    <np role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
    <thingy type="detnumber" function="prefix" gloss="plur"/>
    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
-    <thingy type="detnumber" function="prefix" gloss="plur"/>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="t&#x361;&#x283; u &#x294;" slots="Cir Cfr">t͡ʃuʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="s+t&#x32A; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f" slots="Cir Cfr">st̪øːˈp͡fap͡f</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;" slots="Cir Cfr">t͡sʼʷeʝiˈpʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="n&#x2E4; i&#x2D0; &#x2C8; &#x274; a &#x2A1;" slots="Cir Cfr">nˤiːˈɴaʡ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x28B; ai &#x2C8; &#x29D;" slots="Cir Cfr">ʋaiˈʝ</word>
+    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="t&#x361;s&#x2B0;&#x2B7;" slots="Cip Cip">t͡sʰʷ</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="f i &#x2C8; t&#x361;s&#x2BC;&#x2E4;" slots="Cir Cfr">fiˈt͡sʼˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/k͡xʷ/ + /s+t̪/ > // + /k͡xʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ɲ/ > // + /ɲ/
/iː/ + /sʷ+tˤ/ > /iː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/s+qʷ/ + /nˤ/ > // + /nˤ/
/n̪ʷ/ + /t͡sˤ/ > // + /nˤ/
/t͡sʰʷ/ + /f/ > // + /p/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="t&#x361;&#x283; u &#x294;" slots="Cir Cfr">t͡ʃuʔ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="s+t&#x32A; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f" slots="Cir Cfr">st̪øːˈp͡fap͡f</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;" slots="Cir Cfr">t͡sʼʷeʝiˈpʼ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="n&#x2E4; i&#x2D0; &#x2C8; &#x274; a &#x2A1;" slots="Cir Cfr">nˤiːˈɴaʡ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x28B; ai &#x2C8; &#x29D;" slots="Cir Cfr">ʋaiˈʝ</word>
-    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="t&#x361;s&#x2B0;&#x2B7;" slots="Cip Cip">t͡sʰʷ</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="f i &#x2C8; t&#x361;s&#x2BC;&#x2E4;" slots="Cir Cfr">fiˈt͡sʼˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="t&#x361;&#x283; u &#x294;">t͡ʃuʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="k&#x361;x&#x2B7; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f" underlying="s+t&#x32A; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f">k͡xʷøːˈp͡fap͡f</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;">t͡sʼʷeʝiˈpʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="n&#x2E4; i&#x2D0; &#x2C8; &#x274; a &#x2A1;">nˤiːˈɴaʡ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x28B; ai &#x2C8; &#x29D;">ʋaiˈʝ</word>
+    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;&#x2B7;"></thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="p i &#x2C8; t&#x361;s&#x2BC;&#x2E4;" underlying="f i &#x2C8; t&#x361;s&#x2BC;&#x2E4;">piˈt͡sʼˤ</word>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="t&#x361;&#x283; u &#x294;">t͡ʃuʔ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="k&#x361;x&#x2B7; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f" underlying="s+t&#x32A; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f">k͡xʷøːˈp͡fap͡f</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;">t͡sʼʷeʝiˈpʼ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" ph="n&#x2E4; i&#x2D0; &#x2C8; &#x274; a &#x2A1;">nˤiːˈɴaʡ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="&#x28B; ai &#x2C8; &#x29D;">ʋaiˈʝ</word>
-    <thingy type="detnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;&#x2B7;"></thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" ph="p i &#x2C8; t&#x361;s&#x2BC;&#x2E4;" underlying="f i &#x2C8; t&#x361;s&#x2BC;&#x2E4;">piˈt͡sʼˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM">t͡ʃuʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" underlying="s+t&#x32A; &#xF8;&#x2D0; &#x2C8; p&#x361;f a p&#x361;f">k͡xʷøːˈp͡fap͡f</word>
+    <word gloss="COMIT" posp="pp" role="comitative">t͡sʼʷeʝiˈpʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN">nˤiːˈɴaʡ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC">ʋaiˈʝ</word>
+    <thingy type="detnumber" function="prefix" gloss="plur" underlying="t&#x361;s&#x2B0;&#x2B7;"></thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" tr="rheme" case="ACC" underlying="f i &#x2C8; t&#x361;s&#x2BC;&#x2E4;">piˈt͡sʼˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃuʔ&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;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈst̪øːp͡fap͡f&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;t͡sʼʷeˈʝipʼ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲstʼiː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnˤiːɴaʡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&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;t͡sˤaˈtʼˤauxut&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;ˈʋaiʝ&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͡sʰʷ-&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;ˈfit͡sʼˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃuʔ ˈk͡xʷøːp͡fap͡f t͡sʼʷeˈʝipʼ ɴʷanˈuɲstʼiːjesʷqoj ˈnˤiːɴaʡ nˤaˈtʼˤauxut ˈʋaiʝ ˈpit͡sʼˤ</p>
+  <p>djuq kkhwøøpfapf tzʼweʝibp qnwanuñsdtiijeswqoj ṇiiqnaʡ ṇadṭaukhud waiʝ bitzʼ̣</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃuʔ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈst̪øːp͡fap͡f</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>t͡sʼʷeˈʝipʼ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈɲstʼiː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ˈnˤiːɴaʡ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈʋaiʝ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>t͡sʰʷ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ˈfit͡sʼˤ</o>
+      <g>yon</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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 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">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

prodrop:

No change.

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>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.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="3.sing" obj="3.sing"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for love/verb/voice/obligatory
Got active
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for love/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /s+qʷ/ > // + /s+qʷ/
/oː/ + /sʷ+tˤ/ > /oː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">t͡ʃʼiːˈʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈsqʷn̪oː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡ʃʼiːʃ ɴʷanˈesqʷn̪oːjesʷqoj ˈt͡ʃʼiːʃ</p>
+  <p>chʼiish qnwanesqwnoojeswqoj chʼiish</p>
+  <il>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈsqʷn̪oː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <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" obj="3.sing">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for NN1/noun/case/obligatory
Got NOM
About to call getSlotValue for hate/verb/negation/obligatory
Got POS
About to call getSlotValue for hate/verb/voice/obligatory
Got active
About to call getSlotValue for hate/verb/mode/obligatory
Got indicative
About to call getSlotValue for hate/verb/ta/obligatory
Got PRES
About to call getSlotValue for hate/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for hate/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for hate/verb/question/obligatory
Got not.Q
About to call getSlotValue for NN2/noun/case/obligatory
Got ACC
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Sahqistoesahtah hates Yaufut.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="Sahqistoesahtah" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="&#x283;+q&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;" slots="Cir Cfr">ʃqʷisʷtʼʷøˈʃtʰaʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="&#x2A1; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i" slots="Cir V1">ʡut͡sʼˈn̪ʷi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="Yaufut" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="j a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;" slots="Cir Cfr">jaɴuːˈfut̪ˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /ʃ+qʷ/ > // + /k͡xʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /ʡ/ > // + /s+qʷ/
/i/ + /sʷ+tˤ/ > /i/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /j/ > // + /ɲ/
<example id="loveprop" translation="Sahqistoesahtah hates Yaufut.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="Sahqistoesahtah" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="&#x283;+q&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;" slots="Cir Cfr">ʃqʷisʷtʼʷøˈʃtʰaʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="&#x2A1; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i" slots="Cir V1">ʡut͡sʼˈn̪ʷi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="Yaufut" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="j a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;" slots="Cir Cfr">jaɴuːˈfut̪ˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="Sahqistoesahtah" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="k&#x361;x&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;" underlying="&#x283;+q&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;">k͡xʷisʷtʼʷøˈʃtʰaʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i" underlying="&#x2A1; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i">sqʷut͡sʼˈn̪ʷi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="Yaufut" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="&#x272; a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;" underlying="j a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;">ɲaɴuːˈfut̪ˤ</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Sahqistoesahtah hates Yaufut.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="Sahqistoesahtah" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="k&#x361;x&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;" underlying="&#x283;+q&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;">k͡xʷisʷtʼʷøˈʃtʰaʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i" underlying="&#x2A1; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i">sqʷut͡sʼˈn̪ʷi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="Yaufut" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="&#x272; a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;" underlying="j a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;">ɲaɴuːˈfut̪ˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="Sahqistoesahtah" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" underlying="&#x283;+q&#x2B7; i s&#x2B7;+t&#x2BC;&#x2B7; &#xF8; &#x2C8; &#x283;+t&#x2B0; a &#x2A1;">k͡xʷisʷtʼʷøˈʃtʰaʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" underlying="&#x2A1; u t&#x361;s&#x2BC; &#x2C8; n&#x32A;&#x2B7; i">sqʷut͡sʼˈn̪ʷi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="Yaufut" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" underlying="j a &#x274; u&#x2D0; &#x2C8; f u t&#x32A;&#x2E4;">ɲaɴuːˈfut̪ˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃqʷiˈsʷtʼʷøʃtʰaʡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Sahqistoesahtah&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈʡut͡sʼn̪ʷi&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;jaˈɴuːfut̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Yaufut&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xʷiˈsʷtʼʷøʃtʰaʡ ɴʷanesqʷˈut͡sʼn̪ʷijesʷqoj ɲaˈɴuːfut̪ˤ</p>
+  <p>Kkhwiswdtwøshtaʡ qnwanesqwutzʼnwijeswqoj Ñaqnuufuḍ</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʃqʷiˈsʷtʼʷøʃtʰaʡ</o>
+      <g>Sahqistoesahtah</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈʡut͡sʼn̪ʷi</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>jaˈɴuːfut̪ˤ</o>
+      <g>Yaufut</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 complementise:

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

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s+qʷ/ + /m/ > // + /m/
/k͡xʷ/ + /sˤ+tʼʷ/ > // + /k͡xʷ/
<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="m &#x254;i &#x294;">mɔiʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="m &#x254;i &#x294;">mɔiʔ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">mɔiʔ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɔiʔ&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͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤtʼʷaˈɕtʰuːt͡ʃex&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mɔiʔ k͡xʷaˈɕtʰuːt͡ʃex</p>
+  <p>moiq kkhwaćtuudjekh</p>
+  <il>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>mɔiʔ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sˤtʼʷaˈɕtʰuːt͡ʃex</o>
+      <g>apple</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 complementise:

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

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /sˤ+tʼʷ/ > // + /k͡xʷ/
<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">t͡ʃʼiːˈʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤtʼʷaˈɕtʰuːt͡ʃex&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡ʃʼiːʃ k͡xʷaˈɕtʰuːt͡ʃex</p>
+  <p>chʼiish kkhwaćtuudjekh</p>
+  <il>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sˤtʼʷaˈɕtʰuːt͡ʃex</o>
+      <g>apple</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 complementise:

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

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /sˤ+tʼʷ/ > // + /k͡xʷ/
<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">ɴʷoˈsˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">k͡xʷaɕtʰuːˈt͡ʃex</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&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;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤtʼʷaˈɕtʰuːt͡ʃex&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ k͡xʷaˈɕtʰuːt͡ʃex</p>
+  <p>qnwoṣ kkhwaćtuudjekh</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sˤtʼʷaˈɕtʰuːt͡ʃex</o>
+      <g>apple</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 complementise:

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

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s+t&#x32A; &#x254;i k" slots="Cir Cfr">st̪ɔik</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; o k &#x2C8; s&#x2B7; y" slots="Cir V1">sˤokˈsʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q u t&#x361;&#x283;&#x2BC; e &#x2C8; &#x3B8;&#x2E4; a t&#x2BC;" slots="Cir Cfr">squt͡ʃʼeˈθˤatʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+t&#x2E4; i p&#x2BC;" slots="Cir Cfr">stˤipʼ</word>
  </flat>
</example>

vowelharmony:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s+t&#x32A; &#x254;i k" slots="Cir Cfr">st̪ɔik</word>
    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; o k &#x2C8; s&#x2B7; y" slots="Cir V1">sˤokˈsʷy</word>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; y &#x29D;" slots="Cip Cir" underlying="n&#x32A; u &#x29D;">n̪yʝ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; &#xF8; k &#x2C8; s&#x2B7; y" slots="Cir V1" underlying="s&#x2E4; o k &#x2C8; s&#x2B7; y">sˤøkˈsʷy</word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q u t&#x361;&#x283;&#x2BC; e &#x2C8; &#x3B8;&#x2E4; a t&#x2BC;" slots="Cir Cfr">squt͡ʃʼeˈθˤatʼ</word>
    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+t&#x2E4; i p&#x2BC;" slots="Cir Cfr">stˤipʼ</word>
  </flat>
</example>

applysandhi:

/s+qʷ/ + /ŋʷ/ > // + /s+qʷ/
/k͡xʷ/ + /s+t̪/ > // + /k͡xʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /sˤ/ > // + /sˤ/
/y/ + /sʷ+tˤ/ > /y/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/s+qʷ/ + /s+q/ > // + /s+q/
/n̪ʷ/ + /s+tˤ/ > // + /n̪ʷ/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s+t&#x32A; &#x254;i k" slots="Cir Cfr">st̪ɔik</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; y &#x29D;" slots="Cip Cir" underlying="n&#x32A; u &#x29D;">n̪yʝ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; &#xF8; k &#x2C8; s&#x2B7; y" slots="Cir V1" underlying="s&#x2E4; o k &#x2C8; s&#x2B7; y">sˤøkˈsʷy</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q u t&#x361;&#x283;&#x2BC; e &#x2C8; &#x3B8;&#x2E4; a t&#x2BC;" slots="Cir Cfr">squt͡ʃʼeˈθˤatʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s+t&#x2E4; i p&#x2BC;" slots="Cir Cfr">stˤipʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="s+q&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; &#x254;i k" underlying="s+t&#x32A; &#x254;i k">k͡xʷɔik</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n y" underlying="n&#x32A; u &#x29D;">ny</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; &#xF8; k &#x2C8; s&#x2B7; y" underlying="s&#x2E4; o k &#x2C8; s&#x2B7; y">sˤøkˈsʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q u t&#x361;&#x283;&#x2BC; e &#x2C8; &#x3B8;&#x2E4; a t&#x2BC;">squt͡ʃʼeˈθˤatʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="n&#x32A;&#x2B7; i p&#x2BC;" underlying="s+t&#x2E4; i p&#x2BC;">n̪ʷipʼ</word>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="s+q&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="k&#x361;x&#x2B7; &#x254;i k" underlying="s+t&#x32A; &#x254;i k">k͡xʷɔik</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n y" underlying="n&#x32A; u &#x29D;">ny</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4; &#xF8; k &#x2C8; s&#x2B7; y" underlying="s&#x2E4; o k &#x2C8; s&#x2B7; y">sˤøkˈsʷy</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q u t&#x361;&#x283;&#x2BC; e &#x2C8; &#x3B8;&#x2E4; a t&#x2BC;">squt͡ʃʼeˈθˤatʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="n&#x32A;&#x2B7; i p&#x2BC;" underlying="s+t&#x2E4; i p&#x2BC;">n̪ʷipʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" underlying="s+t&#x32A; &#x254;i k">k͡xʷɔik</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">ny</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" underlying="s&#x2E4; o k &#x2C8; s&#x2B7; y">sˤøkˈsʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">squt͡ʃʼeˈθˤatʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" underlying="s+t&#x2E4; i p&#x2BC;">n̪ʷipʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷeˈfotʼˤupʼ&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͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;st̪ɔik&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsˤoksʷy&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̪ˤuk&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;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;squˈt͡ʃʼeθˤatʼ&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;n̪ʷ-&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;stˤipʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sqʷeˈfotʼˤupʼ k͡xʷɔik ɴʷanysˤˈøksʷyjesʷqoj ˈn̪ˤuk squˈt͡ʃʼeθˤatʼ n̪ʷipʼ</p>
+  <p>sqwefodṭubp kkhwoig qnwanyṣøgswyjeswqoj ṇug squchʼetḥadt nwibp</p>
+  <il>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ŋʷeˈfotʼˤupʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>st̪ɔik</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈsˤoksʷy</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈn̪ˤuk</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>squˈt͡ʃʼeθˤatʼ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>stˤipʼ</o>
+      <g>son</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /k/ > // + /k͡x/
<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷen̪</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷen̪</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷen̪</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;koˈχʷɔisʷkʷen̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xoˈχʷɔisʷkʷen̪</p>
+  <p>kkhoqhwoiswquen</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>koˈχʷɔisʷkʷen̪</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM">
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM">
      <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/case/obligatory
Got NOM
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" 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"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /k/ > // + /k͡x/
/n̪/ + /t͡s/ > // + /n/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u t" underlying="t&#x361;s u t">nut</thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></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" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u t" underlying="t&#x361;s u t">nut</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t&#x361;s u t">nut</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;koˈχʷɔisʷkʷen̪&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;-t͡sut&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xoˈχʷɔisʷkʷenut</p>
+  <p>kkhoqhwoiswquenud</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>koˈχʷɔisʷkʷen̪</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-t͡sut</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 complementise:

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 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">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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">
      <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:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-      <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">
        <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>
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for lamb/verb/negation/obligatory
Got POS
About to call getSlotValue for lamb/verb/voice/obligatory
Got active
About to call getSlotValue for lamb/verb/mode/obligatory
Got indicative
About to call getSlotValue for lamb/verb/ta/obligatory
Got PAST
About to call getSlotValue for lamb/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for lamb/verb/obj/obligatory
Got none
About to call getSlotValue for lamb/verb/question/obligatory
Got not.Q
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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">
        <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="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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">
    <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"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p&#x2BC; a" slots="Cfr V2">pʼa</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /k/ > // + /x/
/n̪/ + /t͡s/ > // + /n/
/t/ + /pʼ/ > // + /p/
/a/ + /sʷ+tˤ/ > /a/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p&#x2BC; a" slots="Cfr V2">pʼa</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</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" ph="x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u" underlying="t&#x361;s u t">nu</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p a" underlying="p&#x2BC; a">pa</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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" ph="x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u" underlying="t&#x361;s u t">nu</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p a" underlying="p&#x2BC; a">pa</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</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" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t&#x361;s u t">nu</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" underlying="p&#x2BC; a">pa</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;koˈχʷɔisʷkʷen̪&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;-t͡sut&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;-pʼa&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡ʃʼiːʃ ɴʷanuxoˈχʷɔisʷkʷenupasʷtˤumoj</p>
+  <p>chʼiish qnwanukhoqhwoiswquenubaswḍumoj</p>
+  <il>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>koˈχʷɔisʷkʷen̪</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-t͡sut</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-pʼa</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_adj
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_verb_obj
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <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>
      </subs>
    </np>
  </s>
</example>
submodule transform_verb_verb
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="want"/>
+      <word gloss="lamb" lexposp="noun" posp="verb">
+        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="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"/>
+        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
+      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj">
-      <subs>
-        <word gloss="COMP" posp="pp"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="have"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number">
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
-        </np>
-      </subs>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <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="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="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="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-      <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">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for lamb/verb/negation/obligatory
Got POS
About to call getSlotValue for lamb/verb/voice/obligatory
Got active
About to call getSlotValue for lamb/verb/mode/obligatory
Got indicative
About to call getSlotValue for lamb/verb/ta/obligatory
Got PAST
About to call getSlotValue for lamb/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for lamb/verb/obj/obligatory
Got none
About to call getSlotValue for lamb/verb/question/obligatory
Got not.Q
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="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"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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">
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
    <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"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
-    <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"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p&#x2BC; a" slots="Cfr V2">pʼa</thingy>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x3C7;&#x2B7; e" slots="Cms V2">χʷe</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /k/ > // + /x/
/n̪/ + /t͡s/ > // + /n/
/t/ + /pʼ/ > // + /p/
/a/ + /χʷ/ > /a/ + /χʷ/
/e/ + /sʷ+tˤ/ > /e/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></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" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p&#x2BC; a" slots="Cfr V2">pʼa</thingy>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x3C7;&#x2B7; e" slots="Cms V2">χʷe</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</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" ph="x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u" underlying="t&#x361;s u t">nu</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p a" underlying="p&#x2BC; a">pa</thingy>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x3C7;&#x2B7; e">χʷe</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></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" ph="x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u" underlying="t&#x361;s u t">nu</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="p a" underlying="p&#x2BC; a">pa</thingy>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x3C7;&#x2B7; e">χʷe</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" case="NOM">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</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" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t&#x361;s u t">nu</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" underlying="p&#x2BC; a">pa</thingy>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb">χʷe</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;koˈχʷɔisʷkʷen̪&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;-t͡sut&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;-pʼa&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;-χʷe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡ʃʼiːʃ ɴʷanuxoˈχʷɔisʷkʷenupaχʷesʷtˤumoj</p>
+  <p>chʼiish qnwanukhoqhwoiswquenubaqhweswḍumoj</p>
+  <il>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>koˈχʷɔisʷkʷen̪</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-t͡sut</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-pʼa</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-χʷe</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="lamb4" translation="She often wanted to have 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 posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj">
      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number">
+        <np number="sing" tr="rheme" role="subj" 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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

<example id="lamb4" translation="She often wanted to have 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 posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
-    <np role="obj">
+    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" 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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

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

No change.

copyuptophrase:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" obj="3.sing">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" 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>
-        <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">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="want"/>
-      <word posp="adv" gloss="often"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
-          <word gloss="lamb" lexposp="noun" posp="noun">
+          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
        </vp>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </np>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for want/verb/negation/obligatory
Got POS
About to call getSlotValue for want/verb/voice/obligatory
Got active
About to call getSlotValue for want/verb/mode/obligatory
Got indicative
About to call getSlotValue for want/verb/ta/obligatory
Got PAST
About to call getSlotValue for want/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for want/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for want/verb/question/obligatory
Got not.Q
About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for have/verb/negation/obligatory
Got POS
About to call getSlotValue for have/verb/voice/obligatory
Got active
About to call getSlotValue for have/verb/mode/obligatory
Got indicative
About to call getSlotValue for have/verb/ta/obligatory
Got PAST
About to call getSlotValue for have/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for have/verb/obj/obligatory
Got none
About to call getSlotValue for have/verb/question/obligatory
Got not.Q
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+          <thingy type="nouncase" function="prefix" gloss="NOM"/>
          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
+          <thingy type="verbmode" function="prefix" gloss="indicative"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbobj" function="suffix" gloss="none"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
        </vp>
        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb4" translation="She often wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    </vp>
-    <np role="obj" number="sing">
-      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-          </word>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4;+t&#x2E4; &#x2C8; q e" slots="Cir V1">sˤtˤˈqe</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x361;s&#x2B7; &#xF8; &#x2C8; t&#x32A;" slots="Cir Cfr">t͡sʷøˈt̪</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="x &#x2C8; &#x14B;&#x2B7; e&#x2D0;" slots="Cir V1">xˈŋʷeː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /sˤ+tˤ/ > // + /sˤ+tˤ/
/e/ + /sʷ+tˤ/ > /e/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/k͡xʷ/ + /k/ > // + /k͡x/
/n̪/ + /t͡s/ > // + /n/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /x/ > // + /x/
/eː/ + /sʷ+tˤ/ > /eː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;" slots="Cir Cfr">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4;+t&#x2E4; &#x2C8; q e" slots="Cir V1">sˤtˤˈqe</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x361;s&#x2B7; &#xF8; &#x2C8; t&#x32A;" slots="Cir Cfr">t͡sʷøˈt̪</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4;+t&#x2E4; &#x2C8; q e">sˤtˤˈqe</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x361;s&#x2B7; &#xF8; &#x2C8; t&#x32A;">t͡sʷøˈt̪</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;" slots="Cir Cfr">koχʷɔiˈsʷkʷen̪</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="t&#x361;s u t" slots="Cfr Cfs">t͡sut</thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="x &#x2C8; &#x14B;&#x2B7; e&#x2D0;" slots="Cir V1">xˈŋʷeː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u t" underlying="t&#x361;s u t">nut</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="x &#x2C8; &#x14B;&#x2B7; e&#x2D0;">xˈŋʷeː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="t&#x361;&#x283;&#x2BC; i&#x2D0; &#x2C8; &#x283;">t͡ʃʼiːˈʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2E4;+t&#x2E4; &#x2C8; q e">sˤtˤˈqe</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x361;s&#x2B7; &#xF8; &#x2C8; t&#x32A;">t͡sʷøˈt̪</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" ph="k&#x361;x o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="n u t" underlying="t&#x361;s u t">nut</thingy>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="x &#x2C8; &#x14B;&#x2B7; e&#x2D0;">xˈŋʷeː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">t͡ʃʼiːˈʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">sˤtˤˈqe</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">t͡sʷøˈt̪</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" underlying="k o &#x3C7;&#x2B7; &#x254;i &#x2C8; s&#x2B7;+k&#x2B7; e n&#x32A;">k͡xoχʷɔiˈsʷkʷe</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="t&#x361;s u t">nut</thingy>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">xˈŋʷeː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼiːʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsˤtˤqe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡sʷøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;koˈχʷɔisʷkʷen̪&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;-t͡sut&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxŋʷeː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;st̪ˤuˈɕkʼaːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈt͡ʃʼiːʃ ɴʷanˈusˤtˤqejesʷqoj ˈt͡sʷøt̪ k͡xoˈχʷɔisʷkʷenut ɴʷanˈuxŋʷeːsʷtˤumoj st̪ˤuˈɕkʼaːɲ</p>
+  <p>chʼiish qnwanuṣḍqejeswqoj tzwød kkhoqhwoiswquenud qnwanukhngweeswḍumoj sḍućgkaañ</p>
+  <il>
+    <w>
+      <o>ˈt͡ʃʼiːʃ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈsˤtˤqe</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈt͡sʷøt̪</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>koˈχʷɔisʷkʷen̪</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-t͡sut</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈxŋʷeː</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>st̪ˤuˈɕkʼaːɲ</o>
+      <g>COMP</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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">
+    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for love/verb/voice/obligatory
Got active
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/ta/obligatory
Got PRES
About to call getSlotValue for love/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for love/verb/obj/obligatory
Got 2.sing
About to call getSlotValue for love/verb/question/obligatory
Got not.Q
<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="2.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o n&#x32A;" slots="Cms Cms">ʑt̪on̪</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /s+qʷ/ > // + /s+qʷ/
/oː/ + /t͡sʼʷ/ > /oː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /ʑ+t̪/ > /t͡sʼʷ/ + /ʑ+t̪/
/n̪/ + /ʋ/ > // + /n̪ʷ/
<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o n&#x32A;" slots="Cms Cms">ʑt̪on̪</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="n&#x32A;&#x2B7; o j" underlying="&#x28B; o j">n̪ʷoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="n&#x32A;&#x2B7; o j" underlying="&#x28B; o j">n̪ʷoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</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">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">n̪ʷoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">n̪ˤuˈk</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈsqʷn̪oː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʑt̪on̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̪ˤuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ ɴʷanˈesqʷn̪oːt͡sʼʷʑt̪on̪ʷoj ˈn̪ˤuk</p>
+  <p>qnwoṣ qnwanesqwnootzʼwźdonwoj ṇug</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈsqʷn̪oː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-ʑt̪on̪</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈn̪ˤuk</o>
+      <g>2.sing</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 complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="surface" def="def" number="sing"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x255;+t&#x2BC;&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f" slots="Cir Cfr">ɕtʼʷeːˈsqʼʷip͡f</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" ph="&#x283;+t&#x32A; &#x254;i &#x294;" slots="Cir Cfr">ʃt̪ɔiʔ</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="q&#x2BC; u &#x2C8; t&#x361;s&#x2BC;" slots="Cir Cfr">qʼuˈt͡sʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /ɕ+tʼʷ/ > // + /k͡xʷ/
/k͡xʷ/ + /ʃ+t̪/ > // + /k͡xʷ/
<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="&#x255;+t&#x2BC;&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f" slots="Cir Cfr">ɕtʼʷeːˈsqʼʷip͡f</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" ph="&#x283;+t&#x32A; &#x254;i &#x294;" slots="Cir Cfr">ʃt̪ɔiʔ</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="q&#x2BC; u &#x2C8; t&#x361;s&#x2BC;" slots="Cir Cfr">qʼuˈt͡sʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="k&#x361;x&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f" underlying="&#x255;+t&#x2BC;&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f">k͡xʷeːˈsqʼʷip͡f</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" ph="k&#x361;x&#x2B7; &#x254;i &#x294;" underlying="&#x283;+t&#x32A; &#x254;i &#x294;">k͡xʷɔiʔ</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="q&#x2BC; u &#x2C8; t&#x361;s&#x2BC;">qʼuˈt͡sʼ</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="k&#x361;x&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f" underlying="&#x255;+t&#x2BC;&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f">k͡xʷeːˈsqʼʷip͡f</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" ph="k&#x361;x&#x2B7; &#x254;i &#x294;" underlying="&#x283;+t&#x32A; &#x254;i &#x294;">k͡xʷɔiʔ</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="q&#x2BC; u &#x2C8; t&#x361;s&#x2BC;">qʼuˈt͡sʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" underlying="&#x255;+t&#x2BC;&#x2B7; e&#x2D0; &#x2C8; s+q&#x2BC;&#x2B7; i p&#x361;f">k͡xʷeːˈsqʼʷip͡f</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" underlying="&#x283;+t&#x32A; &#x254;i &#x294;">k͡xʷɔiʔ</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">qʼuˈt͡sʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɕtʼʷeːsqʼʷip͡f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃt̪ɔiʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈqʼut͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈk͡xʷeːsqʼʷip͡f k͡xʷɔiʔ ˈqʼut͡sʼ</p>
+  <p>kkhweesgqwipf kkhwoiq gqutzʼ</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ˈɕtʼʷeːsqʼʷip͡f</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʃt̪ɔiʔ</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>ˈqʼut͡sʼ</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="inside" def="def" number="sing"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;" slots="Cir Cfr">ʃasauˈtʰˤiʝ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" ph="k&#x2BC; &#xF8;&#x2D0; t&#x361;s&#x2BC;" slots="Cir Cfr">kʼøːt͡sʼ</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="s a&#x2D0; &#x2C8; k" slots="Cir Cfr">saːˈk</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /ʃ/ > // + /t͡ʃ/
/k͡xʷ/ + /kʼ/ > // + /k͡x/
<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;" slots="Cir Cfr">ʃasauˈtʰˤiʝ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" ph="k&#x2BC; &#xF8;&#x2D0; t&#x361;s&#x2BC;" slots="Cir Cfr">kʼøːt͡sʼ</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="s a&#x2D0; &#x2C8; k" slots="Cir Cfr">saːˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="t&#x361;&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;" underlying="&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;">t͡ʃasauˈtʰˤiʝ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" ph="k&#x361;x &#xF8;&#x2D0; t&#x361;s&#x2BC;" underlying="k&#x2BC; &#xF8;&#x2D0; t&#x361;s&#x2BC;">k͡xøːt͡sʼ</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="s a&#x2D0; &#x2C8; k">saːˈk</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="t&#x361;&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;" underlying="&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;">t͡ʃasauˈtʰˤiʝ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" ph="k&#x361;x &#xF8;&#x2D0; t&#x361;s&#x2BC;" underlying="k&#x2BC; &#xF8;&#x2D0; t&#x361;s&#x2BC;">k͡xøːt͡sʼ</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="s a&#x2D0; &#x2C8; k">saːˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" underlying="&#x283; a s au &#x2C8; t&#x2B0;&#x2E4; i &#x29D;">t͡ʃasauˈtʰˤiʝ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" underlying="k&#x2BC; &#xF8;&#x2D0; t&#x361;s&#x2BC;">k͡xøːt͡sʼ</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">saːˈk</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃaˈsautʰˤiʝ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼøːt͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsaːk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaˈsautʰˤiʝ k͡xøːt͡sʼ ˈsaːk</p>
+  <p>djasauṭiʝ kkhøøtzʼ saag</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʃaˈsautʰˤiʝ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kʼøːt͡sʼ</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ˈsaːk</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;" slots="Cir Cfr">t͡sʼʷeʝiˈpʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;" slots="Cir Cfr">t͡sʼʷeʝiˈpʼ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;">t͡sʼʷeʝiˈpʼ</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;s&#x2BC;&#x2B7; e &#x29D; i &#x2C8; p&#x2BC;">t͡sʼʷeʝiˈpʼ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">ɴʷoˈsˤ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">t͡sʼʷeʝiˈpʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&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;t͡sʼʷeˈʝipʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ t͡sʼʷeˈʝipʼ</p>
+  <p>qnwoṣ tzʼweʝibp</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼʷeˈʝipʼ</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <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" obj="3.sing">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for kill/verb/voice/obligatory
Got active
About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for kill/verb/ta/obligatory
Got PAST
About to call getSlotValue for kill/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for kill/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for kill/verb/question/obligatory
Got not.Q
About to call getSlotValue for hunter/noun/case/obligatory
Got ACC
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" slots="Cir Cfr">sʷqʼeʋuˈsˤtʼan̪ˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au" slots="Cir V1">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /sʷ+qʼ/ > // + /k͡xʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʝ/ > // + /ʝ/
/au/ + /sʷ+tˤ/ > /au/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /ŋʷ/ > // + /ŋʷ/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" slots="Cir Cfr">sʷqʼeʋuˈsˤtʼan̪ˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au" slots="Cir V1">ʝˈsˤqʼau</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="k&#x361;x&#x2B7; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">k͡xʷeʋuˈsˤtʼan̪ˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">ŋʷefoˈtʼˤupʼ</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="k&#x361;x&#x2B7; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">k͡xʷeʋuˈsˤtʼan̪ˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au">ʝˈsˤqʼau</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">k͡xʷeʋuˈsˤtʼan̪ˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC">ŋʷefoˈtʼˤupʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷqʼeˈʋusˤtʼan̪ˤ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʝsˤqʼau&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ŋʷeˈfotʼˤupʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>k͡xʷeˈʋusˤtʼan̪ˤ ɴʷanˈuʝsˤqʼaujesʷqoj ŋʷeˈfotʼˤupʼ</p>
+  <p>kkhwewuṣdtaṇ qnwanuʝṣgqaujeswqoj ngwefodṭubp</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sʷqʼeˈʋusˤtʼan̪ˤ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʝsˤqʼau</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ŋʷeˈfotʼˤupʼ</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 complementise:

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 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">
      <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 role="obj" case="ACC" number="sing">
+      <np type="owner_owned" number="sing">
+        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owner" case="GEN">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

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">
      <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" obj="3.sing">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np type="owner_owned" number="sing" role="obj" case="ACC">
-      <np type="owner_owned" role="owner" number="sing">
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="daughter"/>
    </np>
-      </np>
-      <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="ACC">
      <word posp="noun" gloss="dog"/>
    </np>
-    </np>
  </s>
</example>

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for eat/verb/voice/obligatory
Got active
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for eat/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for daughter/noun/case/obligatory
Got GEN
About to call getSlotValue for dog/noun/case/obligatory
Got ACC
<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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <thingy type="nouncase" function="prefix" gloss="GEN"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;" slots="Cir Cfr">ʔijuːˈt͡sʰot͡ʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i" slots="Cir V1">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+t&#x32A; &#x254;i k" slots="Cir Cfr">st̪ɔik</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="&#x29C; o&#x2D0; &#x272;" slots="Cir Cfr">ʜoːɲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /ʔ/ > // + /ʔ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /sʷ+kʷ/ > // + /sʷ+kʷ/
/ɔi/ + /sʷ+tˤ/ > /ɔi/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/s+qʷ/ + /ŋʷ/ > // + /s+qʷ/
/s+qʷ/ + /s+t̪/ > // + /s+qʷ/
/n̪ʷ/ + /ʜ/ > // + /ʜ/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;" slots="Cir Cfr">ʔijuːˈt͡sʰot͡ʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i" slots="Cir V1">sʷkʷˈqɔi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+t&#x32A; &#x254;i k" slots="Cir Cfr">st̪ɔik</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="&#x29C; o&#x2D0; &#x272;" slots="Cir Cfr">ʜoːɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;">ʔijuːˈt͡sʰot͡ʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="s+q&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; &#x254;i k" underlying="s+t&#x32A; &#x254;i k">sqʷɔik</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="&#x29C; o&#x2D0; &#x272;">ʜoːɲ</word>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;">ʔijuːˈt͡sʰot͡ʃ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i">sʷkʷˈqɔi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="s+q&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; &#x254;i k" underlying="s+t&#x32A; &#x254;i k">sqʷɔik</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="&#x29C; o&#x2D0; &#x272;">ʜoːɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM">ʔijuːˈt͡sʰot͡ʃ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" underlying="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">sqʷefoˈtʼˤupʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="s+t&#x32A; &#x254;i k">sqʷɔik</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC">ʜoːɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈjuːt͡sʰot͡ʃ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsʷkʷqɔi&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷeˈfotʼˤupʼ&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;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;st̪ɔik&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;n̪ʷ-&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;ʜoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔiˈjuːt͡sʰot͡ʃ ɴʷanˈusʷkʷqɔijesʷqoj sqʷeˈfotʼˤupʼ sqʷɔik ʜoːɲ</p>
+  <p>qijuutzhodj qnwanuswquqoijeswqoj sqwefodṭubp sqwoig ħħooñ</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʔiˈjuːt͡sʰot͡ʃ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈsʷkʷqɔi</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ŋʷeˈfotʼˤupʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>st̪ɔik</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʜoːɲ</o>
+      <g>dog</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 complementise:

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

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+t&#x2E4; i p&#x2BC;" slots="Cir Cfr">stˤipʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x283; a &#x3B8;" slots="Cir Cfr">ʃaθ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2B0; u&#x2D0; k" slots="C C">pʰuːk</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/s+qʷ/ + /s+tˤ/ > // + /s+qʷ/
/s+qʷ/ + /ʃ/ > // + /s+qʷ/
/k͡xʷ/ + /pʰ/ > // + /p͡f/
<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+t&#x2E4; i p&#x2BC;" slots="Cir Cfr">stˤipʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="s+q&#x2B7;" slots="Cip Cip">sqʷ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="&#x283; a &#x3B8;" slots="Cir Cfr">ʃaθ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2B0; u&#x2D0; k" slots="C C">pʰuːk</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; i p&#x2BC;" underlying="s+t&#x2E4; i p&#x2BC;">sqʷipʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; a &#x3B8;" underlying="&#x283; a &#x3B8;">sqʷaθ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x361;f u&#x2D0; k" underlying="p&#x2B0; u&#x2D0; k">p͡fuːk</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; i p&#x2BC;" underlying="s+t&#x2E4; i p&#x2BC;">sqʷipʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="" underlying="s+q&#x2B7;"></thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s+q&#x2B7; a &#x3B8;" underlying="&#x283; a &#x3B8;">sqʷaθ</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x361;f u&#x2D0; k" underlying="p&#x2B0; u&#x2D0; k">p͡fuːk</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">n̪ˤuˈk</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="s+t&#x2E4; i p&#x2BC;">sqʷipʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" underlying="s+q&#x2B7;"></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="&#x283; a &#x3B8;">sqʷaθ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" underlying="p&#x2B0; u&#x2D0; k">p͡fuːk</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̪ˤuk&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;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;stˤipʼ&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;sqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃaθ&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;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰuːk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈn̪ˤuk sqʷipʼ sqʷaθ p͡fuːk</p>
+  <p>ṇug sqwibp sqwath pfuug</p>
+  <il>
+    <w>
+      <o>ˈn̪ˤuk</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>stˤipʼ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>sqʷ-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ʃaθ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>pʰuːk</o>
+      <g>book</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <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">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for sleep/verb/negation/obligatory
Got POS
About to call getSlotValue for sleep/verb/voice/obligatory
Got active
About to call getSlotValue for sleep/verb/mode/obligatory
Got indicative
About to call getSlotValue for sleep/verb/ta/obligatory
Got PRES
About to call getSlotValue for sleep/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for sleep/verb/obj/obligatory
Got none
About to call getSlotValue for sleep/verb/question/obligatory
Got 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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="n&#x2B7; &#x2C8; t &#xF8;" slots="Cir V1">nʷˈtø</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /nʷ/ > // + /nʷ/
/ø/ + /sʷ+tˤ/ > /ø/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="n&#x2B7; &#x2C8; t &#xF8;" slots="Cir V1">nʷˈtø</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="n&#x2B7; &#x2C8; t &#xF8;">nʷˈtø</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="n&#x2B7; &#x2C8; t &#xF8;">nʷˈtø</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">nʷˈtø</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnʷtø&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaːt̪ ɴʷanˈenʷtøsʷtˤumoj</p>
+  <p>djaad qnwanenwdøswḍumoj</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈnʷtø</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <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">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for run/verb/negation/obligatory
Got POS
About to call getSlotValue for run/verb/voice/obligatory
Got active
About to call getSlotValue for run/verb/mode/obligatory
Got indicative
About to call getSlotValue for run/verb/ta/obligatory
Got PRES
About to call getSlotValue for run/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for run/verb/obj/obligatory
Got none
About to call getSlotValue for run/verb/question/obligatory
Got 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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="t&#x361;s&#x2BC; &#x2C8; s&#x2B7; ai" slots="Cir V1">t͡sʼˈsʷai</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /t͡sʼ/ > // + /s+qʷ/
/ai/ + /sʷ+tˤ/ > /ai/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="t&#x361;s&#x2BC; &#x2C8; s&#x2B7; ai" slots="Cir V1">t͡sʼˈsʷai</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="s+q&#x2B7; &#x2C8; s&#x2B7; ai" underlying="t&#x361;s&#x2BC; &#x2C8; s&#x2B7; ai">sqʷˈsʷai</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="s+q&#x2B7; &#x2C8; s&#x2B7; ai" underlying="t&#x361;s&#x2BC; &#x2C8; s&#x2B7; ai">sqʷˈsʷai</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" underlying="t&#x361;s&#x2BC; &#x2C8; s&#x2B7; ai">sqʷˈsʷai</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈt͡sʼsʷai&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaːt̪ ɴʷanˈesqʷsʷaisʷtˤumoj</p>
+  <p>djaad qnwanesqwswaiswḍumoj</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈt͡sʼsʷai</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <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" obj="3.sing">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for chase/verb/negation/obligatory
Got POS
About to call getSlotValue for chase/verb/voice/obligatory
Got active
About to call getSlotValue for chase/verb/mode/obligatory
Got indicative
About to call getSlotValue for chase/verb/ta/obligatory
Got PRES
About to call getSlotValue for chase/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for chase/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for chase/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
<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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PRES"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PRES"/>
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="&#x291; a t &#x2C8; t&#x32A;&#x2B7; o" slots="Cir V1">ʑatˈt̪ʷo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /ʑ/ > // + /s+qʷ/
/o/ + /sʷ+tˤ/ > /o/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /t͡sˤ/ > // + /nˤ/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="&#x291; a t &#x2C8; t&#x32A;&#x2B7; o" slots="Cir V1">ʑatˈt̪ʷo</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; a t &#x2C8; t&#x32A;&#x2B7; o" underlying="&#x291; a t &#x2C8; t&#x32A;&#x2B7; o">sqʷatˈt̪ʷo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="s+q&#x2B7; a t &#x2C8; t&#x32A;&#x2B7; o" underlying="&#x291; a t &#x2C8; t&#x32A;&#x2B7; o">sqʷatˈt̪ʷo</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" underlying="&#x291; a t &#x2C8; t&#x32A;&#x2B7; o">sqʷatˈt̪ʷo</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈʑatt̪ʷo&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡sˤaˈtʼˤauxut&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaːt̪ ɴʷanesqʷˈatt̪ʷojesʷqoj nˤaˈtʼˤauxut</p>
+  <p>djaad qnwanesqwaddwojeswqoj ṇadṭaukhud</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈʑatt̪ʷo</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ɲ/ > // + /ɲ/
/iː/ + /sʷ+tˤ/ > /iː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /t͡sˤ/ > // + /nˤ/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t͡ʃaːt̪</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲstʼiː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡sˤaˈtʼˤauxut&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃaːt̪ ɴʷanˈuɲstʼiːjesʷqoj nˤaˈtʼˤauxut</p>
+  <p>djaad qnwanuñsdtiijeswqoj ṇadṭaukhud</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈɲstʼiː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</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 complementise:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

addaffixes:

About to call getSlotValue for hunter/noun/case/obligatory
Got NOM
About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for kill/verb/voice/obligatory
Got active
About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for kill/verb/ta/obligatory
Got PAST
About to call getSlotValue for kill/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for kill/verb/obj/obligatory
Got 3.plur
About to call getSlotValue for kill/verb/question/obligatory
Got not.Q
About to call getSlotValue for jaguar/noun/case/obligatory
Got ACC
About to call getSlotValue for tiger/noun/case/obligatory
Got ACC
About to call getSlotValue for lion/noun/case/obligatory
Got ACC
<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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.plur"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
    </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">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.plur"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.plur"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au" slots="Cir V1">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="k&#x2BC;&#x2B7; e p&#x2BC;" slots="Cms Cms">kʼʷepʼ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" slots="Cir Cfr">sʷqʼeʋuˈsˤtʼan̪ˤ</word>
+    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x361;s&#x2BC;&#x2E4; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;" slots="Cir Cfr">t͡sʼˤaʝiˈʃtʼiɲ</word>
+    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;" slots="Cir Cfr">ʔijuːˈt͡sʰot͡ʃ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /ŋʷ/ > // + /ŋʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʝ/ > // + /ʝ/
/au/ + /sʷ+tˤ/ > /au/ + /sʷ+tˤ/
/sʷ+tˤ/ + /kʼʷ/ > /sʷ+tˤ/ + /kʼʷ/
/pʼ/ + /ʋ/ > // + /pʼ/
/n̪ʷ/ + /sʷ+qʼ/ > // + /n̪ʷ/
/n̪ʷ/ + /t͡sʼˤ/ > // + /n̪ʷ/
/n̪ʷ/ + /ʔ/ > // + /ʔ/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;" slots="Cir Cfr">ŋʷefoˈtʼˤupʼ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au" slots="Cir V1">ʝˈsˤqʼau</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="k&#x2BC;&#x2B7; e p&#x2BC;" slots="Cms Cms">kʼʷepʼ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" slots="Cir Cfr">sʷqʼeʋuˈsˤtʼan̪ˤ</word>
-    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">nʷaiˈt͡sˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="t&#x361;s&#x2BC;&#x2E4; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;" slots="Cir Cfr">t͡sʼˤaʝiˈʃtʼiɲ</word>
-    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;" slots="Cir Cfr">nʷaiˈt͡sˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;" slots="Cir Cfr">ʔijuːˈt͡sʰot͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="k&#x2BC;&#x2B7; e" underlying="k&#x2BC;&#x2B7; e p&#x2BC;">kʼʷe</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="p&#x2BC; o j" underlying="&#x28B; o j">pʼoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n&#x32A;&#x2B7; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">n̪ʷeʋuˈsˤtʼan̪ˤ</word>
+    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n&#x32A;&#x2B7; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;" underlying="t&#x361;s&#x2BC;&#x2E4; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;">n̪ʷaʝiˈʃtʼiɲ</word>
+    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;">ʔijuːˈt͡sʰot͡ʃ</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; e f o &#x2C8; t&#x2BC;&#x2E4; u p&#x2BC;">ŋʷefoˈtʼˤupʼ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="&#x29D; &#x2C8; s&#x2E4;+q&#x2BC; au">ʝˈsˤqʼau</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="k&#x2BC;&#x2B7; e" underlying="k&#x2BC;&#x2B7; e p&#x2BC;">kʼʷe</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="p&#x2BC; o j" underlying="&#x28B; o j">pʼoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n&#x32A;&#x2B7; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">n̪ʷeʋuˈsˤtʼan̪ˤ</word>
-    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;">nʷaiˈt͡sˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n&#x32A;&#x2B7; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;" underlying="t&#x361;s&#x2BC;&#x2E4; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;">n̪ʷaʝiˈʃtʼiɲ</word>
-    <word posp="conj" gloss="and" ph="n&#x2B7; ai &#x2C8; t&#x361;s&#x2E4;">nʷaiˈt͡sˤ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="&#x294; i j u&#x2D0; &#x2C8; t&#x361;s&#x2B0; o t&#x361;&#x283;">ʔijuːˈt͡sʰot͡ʃ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">ŋʷefoˈtʼˤupʼ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">ʝˈsˤqʼau</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" underlying="k&#x2BC;&#x2B7; e p&#x2BC;">kʼʷe</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">pʼoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" underlying="s&#x2B7;+q&#x2BC; e &#x28B; u &#x2C8; s&#x2E4;+t&#x2BC; a n&#x32A;&#x2E4;">n̪ʷeʋuˈsˤtʼan̪ˤ</word>
+    <word posp="conj" gloss="and">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" underlying="t&#x361;s&#x2BC;&#x2E4; a &#x29D; i &#x2C8; &#x283;+t&#x2BC; i &#x272;">n̪ʷaʝiˈʃtʼiɲ</word>
+    <word posp="conj" gloss="and">nʷaiˈt͡sˤ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">ʔijuːˈt͡sʰot͡ʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷeˈfotʼˤupʼ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʝsˤqʼau&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-kʼʷepʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;sʷqʼeˈʋusˤtʼan̪ˤ&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;ˈnʷait͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&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;t͡sʼˤaˈʝiʃtʼiɲ&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;ˈnʷait͡sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&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;ʔiˈjuːt͡sʰot͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋʷeˈfotʼˤupʼ ɴʷanˈuʝsˤqʼausʷtˤkʼʷepʼoj n̪ʷeˈʋusˤtʼan̪ˤ ˈnʷait͡sˤ n̪ʷaˈʝiʃtʼiɲ ˈnʷait͡sˤ ʔiˈjuːt͡sʰot͡ʃ</p>
+  <p>ngwefodṭubp qnwanuʝṣgqauswḍgquebpoj nwewuṣdtaṇ nwaitẓ nwaʝishdtiñ nwaitẓ qijuutzhodj</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ŋʷeˈfotʼˤupʼ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʝsˤqʼau</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-kʼʷepʼ</o>
+      <g>3.plur.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>sʷqʼeˈʋusˤtʼan̪ˤ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ˈnʷait͡sˤ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡sʼˤaˈʝiʃtʼiɲ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ˈnʷait͡sˤ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʔiˈjuːt͡sʰot͡ʃ</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 complementise:

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

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got ACC
<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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"/>
+      <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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" ph="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʃ+tʰ/ > // + /ʃ+tʰ/
/iː/ + /t͡sʼʷ/ > /iː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /t͡ʃ/ > // + /ʃ/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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" ph="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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" ph="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x283; a&#x2D0; t&#x32A;" underlying="t&#x361;&#x283; a&#x2D0; t&#x32A;">ʃaːt̪</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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" ph="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="&#x283; a&#x2D0; t&#x32A;" underlying="t&#x361;&#x283; a&#x2D0; t&#x32A;">ʃaːt̪</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</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">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" underlying="t&#x361;&#x283; a&#x2D0; t&#x32A;">ʃaːt̪</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʃtʰiɲxʷiː&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;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡ʃaːt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ ɴʷanuʃtʰˈiɲxʷiːjesʷqoj ʃaːt̪</p>
+  <p>qnwoṣ qnwanushtiñkhwiijeswqoj shaad</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʃtʰiɲxʷiː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</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 complementise:

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 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">
+    <np id="parent" number="sing">
      <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" 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" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" 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" case="ACC">
          <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">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" case="NOM">
          <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" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
+    <np id="parent" number="sing" case="NOM">
      <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" case="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" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
+          <thingy type="verbmode" function="prefix" gloss="indicative"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
+          <thingy type="nouncase" function="prefix" gloss="ACC"/>
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʃ+tʰ/ > // + /ʃ+tʰ/
/iː/ + /t͡sʼʷ/ > /iː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /sˤ+qʼ/ > // + /sˤ+qʼ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ɲ/ > // + /ɲ/
/iː/ + /sʷ+tˤ/ > /iː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/n̪ʷ/ + /t͡sˤ/ > // + /nˤ/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="n&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t͡ʃaːt̪,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" underlying="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">nˤatʼˤauˈxut</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʃtʰiɲxʷiː&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;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲstʼiː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡sˤaˈtʼˤauxut&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ ɴʷanuʃtʰˈiɲxʷiːsˤqʼumoj t͡ʃaːt̪, ˈt͡sʰʷaʡ ɴʷanˈuɲstʼiːjesʷqoj nˤaˈtʼˤauxut</p>
+  <p>qnwoṣ qnwanushtiñkhwiiṣgqumoj djaad, tzhwaʡ qnwanuñsdtiijeswqoj ṇadṭaukhud</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʃtʰiɲxʷiː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈɲstʼiː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</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 complementise:

No change.

submodule transform_verb_obj
<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 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 gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

<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 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"/>
+              <word gloss="cheese" lexposp="noun" posp="verb">
+                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
+              </word>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number">
-              <word posp="noun" gloss="cheese"/>
-            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

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

module markowner:

No change.

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">
+    <np id="parent" number="sing">
      <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" 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 id="parent" number="sing">
          <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" 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 gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" 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" number="sing">
          <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" 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 gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </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">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" case="NOM">
          <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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="NOM">
              <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">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
+    <np id="parent" number="sing" case="NOM">
      <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" case="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">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" number="sing">
+        <np id="parent" number="sing" case="NOM">
          <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" case="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">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </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>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </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"/>
+      <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" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
        </vp>
        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-              <word gloss="cheese" lexposp="noun" posp="verb">
+              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for obj/
defaultval: verb, obj
returning none
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/obj/obligatory
Got none
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for cheese/verb/negation/obligatory
Got POS
About to call getSlotValue for cheese/verb/voice/obligatory
Got active
About to call getSlotValue for cheese/verb/mode/obligatory
Got indicative
About to call getSlotValue for cheese/verb/ta/obligatory
Got PAST
About to call getSlotValue for cheese/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for cheese/verb/obj/obligatory
Got none
About to call getSlotValue for cheese/verb/question/obligatory
Got not.Q
<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
+          <thingy type="verbmode" function="prefix" gloss="indicative"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbobj" function="suffix" gloss="none"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <thingy type="nouncase" function="prefix" gloss="NOM"/>
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+              <thingy type="verbnegation" function="prefix" gloss="POS"/>
+              <thingy type="verbvoice" function="prefix" gloss="active"/>
+              <thingy type="verbmode" function="prefix" gloss="indicative"/>
+              <thingy type="verbta" function="prefix" gloss="PAST"/>
              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
+              <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+              <thingy type="verbobj" function="suffix" gloss="none"/>
+              <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<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" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-        </vp>
-        <np id="parent" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
-              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-              </word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-            </vp>
-          </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>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" slots="Cir Cfr">ʑt̪ˤit͡siːˈθʷon̪ˤ</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="s&#x2E4; u" slots="Cfr V2">sˤu</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʃ+tʰ/ > // + /ʃ+tʰ/
/iː/ + /t͡sʼʷ/ > /iː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /sˤ+qʼ/ > // + /sˤ+qʼ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ɲ/ > // + /ɲ/
/iː/ + /sʷ+tˤ/ > /iː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /t͡sˤ/ > // + /t͡sˤ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʑ+t̪ˤ/ > // + /ʑ+t̪ˤ/
/n̪ˤ/ + /sˤ/ > // + /nˤ/
/u/ + /sʷ+tˤ/ > /u/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">t͡sˤatʼˤauˈxut</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" slots="Cir Cfr">ʑt̪ˤit͡siːˈθʷon̪ˤ</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="s&#x2E4; u" slots="Cfr V2">sˤu</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">ʑt̪ˤit͡siːˈθʷo</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="n&#x2E4; u" underlying="s&#x2E4; u">nˤu</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">t͡sˤatʼˤauˈxut</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">ʑt̪ˤit͡siːˈθʷo</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="n&#x2E4; u" underlying="s&#x2E4; u">nˤu</thingy>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t͡ʃaːt̪,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">t͡sˤatʼˤauˈxut,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" comma="after" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">ʑt̪ˤit͡siːˈθʷo,</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" underlying="s&#x2E4; u">nˤu</thingy>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʃtʰiɲxʷiː&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;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲstʼiː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤaˈtʼˤauxut&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑt̪ˤiˈt͡siːθʷon̪ˤ&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;-sˤu&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ ɴʷanuʃtʰˈiɲxʷiːsˤqʼumoj t͡ʃaːt̪, ˈt͡sʰʷaʡ ɴʷanˈuɲstʼiːsʷtˤumoj t͡sˤaˈtʼˤauxut, ˈt͡sʰʷaʡ ɴʷanuʑt̪ˤiˈt͡siːθʷo,nˤusʷtˤumoj</p>
+  <p>qnwoṣ qnwanushtiñkhwiiṣgqumoj djaad, tzhwaʡ qnwanuñsdtiiswḍumoj tẓadṭaukhud, tzhwaʡ qnwanuźḍitziithwo,ṇuswḍumoj</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʃtʰiɲxʷiː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈɲstʼiː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʑt̪ˤiˈt͡siːθʷon̪ˤ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-sˤu</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

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

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 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">
+    <np id="parent" number="sing">
      <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" 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 id="parent" number="sing">
          <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" 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 id="parent" number="sing">
              <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" 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" case="NOM">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" 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" number="sing">
          <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" 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" number="sing">
              <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" 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" case="NOM">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </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">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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" number="sing">
      <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" case="NOM">
          <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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="NOM">
              <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">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <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" case="ACC">
                  <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" subj="1excl.sing">
                  <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" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

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

addaffixes:

About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for pat/verb/voice/obligatory
Got active
About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for pat/verb/ta/obligatory
Got PAST
About to call getSlotValue for pat/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for pat/verb/obj/obligatory
Got none
About to call getSlotValue for pat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for catch/verb/voice/obligatory
Got active
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/ta/obligatory
Got PAST
About to call getSlotValue for catch/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for catch/verb/obj/obligatory
Got none
About to call getSlotValue for catch/verb/question/obligatory
Got not.Q
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for eat/verb/voice/obligatory
Got active
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/ta/obligatory
Got PAST
About to call getSlotValue for eat/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for eat/verb/obj/obligatory
Got none
About to call getSlotValue for eat/verb/question/obligatory
Got not.Q
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
About to call getSlotValue for buy/verb/negation/obligatory
Got POS
About to call getSlotValue for buy/verb/voice/obligatory
Got active
About to call getSlotValue for buy/verb/mode/obligatory
Got indicative
About to call getSlotValue for buy/verb/ta/obligatory
Got PAST
About to call getSlotValue for buy/verb/subj/obligatory
Got 1excl.sing
About to call getSlotValue for buy/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for buy/verb/question/obligatory
Got not.Q
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <thingy type="nouncase" function="prefix" gloss="NOM"/>
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
+          <thingy type="verbmode" function="prefix" gloss="indicative"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbobj" function="suffix" gloss="none"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <thingy type="nouncase" function="prefix" gloss="NOM"/>
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+              <thingy type="verbnegation" function="prefix" gloss="POS"/>
+              <thingy type="verbvoice" function="prefix" gloss="active"/>
+              <thingy type="verbmode" function="prefix" gloss="indicative"/>
+              <thingy type="verbta" function="prefix" gloss="PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
+              <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+              <thingy type="verbobj" function="suffix" gloss="none"/>
+              <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
            </vp>
            <np id="parent" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+                <thingy type="nouncase" function="prefix" gloss="NOM"/>
                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
+                  <thingy type="verbnegation" function="prefix" gloss="POS"/>
+                  <thingy type="verbvoice" function="prefix" gloss="active"/>
+                  <thingy type="verbmode" function="prefix" gloss="indicative"/>
+                  <thingy type="verbta" function="prefix" gloss="PAST"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
+                  <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
+                  <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+                  <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
                </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>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-        </vp>
-        <np id="parent" number="sing" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-            </vp>
-            <np id="parent" number="sing" case="NOM">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i" slots="Cir V1">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" slots="Cir Cfr">ʑt̪ˤit͡siːˈθʷon̪ˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="t&#x361;&#x283;&#x2BC; &#x2C8; k&#x361;x e" slots="Cir V1">t͡ʃʼˈk͡xe</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʃ+tʰ/ > // + /ʃ+tʰ/
/iː/ + /t͡sʼʷ/ > /iː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /sˤ+qʼ/ > // + /sˤ+qʼ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /t͡ʃ/ > // + /t͡ʃ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ɲ/ > // + /ɲ/
/iː/ + /sʷ+tˤ/ > /iː/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /t͡sˤ/ > // + /t͡sˤ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /sʷ+kʷ/ > // + /sʷ+kʷ/
/ɔi/ + /sʷ+tˤ/ > /ɔi/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
/k͡xʷ/ + /ʑ+t̪ˤ/ > // + /k͡xʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /t͡ʃʼ/ > // + /ʃ/
/e/ + /t͡sʼʷ/ > /e/ + /t͡sʼʷ/
/t͡sʼʷ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;" slots="Cir V1">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;" slots="Cir Cfr">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;" slots="Cir V1">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t" slots="Cir Cfr">t͡sˤatʼˤauˈxut</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i" slots="Cir V1">sʷkʷˈqɔi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" slots="Cir Cfr">ʑt̪ˤit͡siːˈθʷon̪ˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;" slots="Cir Cfr">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="t&#x361;&#x283;&#x2BC; &#x2C8; k&#x361;x e" slots="Cir V1">t͡ʃʼˈk͡xe</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">t͡sˤatʼˤauˈxut</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="k&#x361;x&#x2B7; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">k͡xʷit͡siːˈθʷon̪ˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x283; &#x2C8; k&#x361;x e" underlying="t&#x361;&#x283;&#x2BC; &#x2C8; k&#x361;x e">ʃˈk͡xe</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</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="&#x283;+t&#x2B0; i &#x272; &#x2C8; x&#x2B7; i&#x2D0;">ʃtʰiɲˈxʷiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;&#x283; a&#x2D0; t&#x32A;">t͡ʃaːt̪</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="&#x272; &#x2C8; s+t&#x2BC; i&#x2D0;">ɲˈstʼiː</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x361;s&#x2E4; a t&#x2BC;&#x2E4; au &#x2C8; x u t">t͡sˤatʼˤauˈxut</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="s&#x2B7;+k&#x2B7; &#x2C8; q &#x254;i">sʷkʷˈqɔi</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="k&#x361;x&#x2B7; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">k͡xʷit͡siːˈθʷon̪ˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="t&#x361;s&#x2B0;&#x2B7; a &#x2C8; &#x2A1;">t͡sʰʷaˈʡ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="&#x283; &#x2C8; k&#x361;x e" underlying="t&#x361;&#x283;&#x2BC; &#x2C8; k&#x361;x e">ʃˈk͡xe</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʃtʰiɲˈxʷiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sˤqʼu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t͡ʃaːt̪,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ɲˈstʼiː</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">t͡sˤatʼˤauˈxut,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">sʷkʷˈqɔi</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" underlying="&#x291;+t&#x32A;&#x2E4; i t&#x361;s i&#x2D0; &#x2C8; &#x3B8;&#x2B7; o n&#x32A;&#x2E4;">k͡xʷit͡siːˈθʷon̪ˤ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">t͡sʰʷaˈʡ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" underlying="t&#x361;&#x283;&#x2BC; &#x2C8; k&#x361;x e">ʃˈk͡xe</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" underlying="t&#x361;s&#x2BC;&#x2B7;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after">ɴʷoˈsˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʃtʰiɲxʷiː&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;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃaːt̪&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲstʼiː&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤaˈtʼˤauxut&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈsʷkʷqɔi&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑt̪ˤiˈt͡siːθʷon̪ˤ&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;ˈt͡sʰʷaʡ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃʼk͡xe&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;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɴʷosˤ ɴʷanuʃtʰˈiɲxʷiːsˤqʼumoj t͡ʃaːt̪, ˈt͡sʰʷaʡ ɴʷanˈuɲstʼiːsʷtˤumoj t͡sˤaˈtʼˤauxut, ˈt͡sʰʷaʡ ɴʷanˈusʷkʷqɔisʷtˤumoj k͡xʷiˈt͡siːθʷon̪ˤ, ˈt͡sʰʷaʡ ɴʷanˈuʃk͡xejesʷqoj ˈɴʷosˤ</p>
+  <p>qnwoṣ qnwanushtiñkhwiiṣgqumoj djaad, tzhwaʡ qnwanuñsdtiiswḍumoj tẓadṭaukhud, tzhwaʡ qnwanuswquqoiswḍumoj kkhwitziithwoṇ, tzhwaʡ qnwanushkkhejeswqoj qnwoṣ</p>
+  <il>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʃtʰiɲxʷiː</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃaːt̪</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈɲstʼiː</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡sˤaˈtʼˤauxut</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈsʷkʷqɔi</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʑt̪ˤiˈt͡siːθʷon̪ˤ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>ˈt͡sʰʷaʡ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃʼk͡xe</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.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 complementise:

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

<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" number="sing">
      <subs>
        <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">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="apple"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </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">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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" number="sing">
      <subs>
        <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">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="apple"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </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" indobj="3.sing">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

No change.

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" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM">
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
-          <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" subj="3.sing" indobj="3.sing" obj="3.sing"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC">
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
-      <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" indobj="3.sing"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    </np>
  </s>
</example>
calling defaultval for obj/
defaultval: verb, obj
returning none

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for give/verb/negation/obligatory
Got POS
About to call getSlotValue for give/verb/voice/obligatory
Got active
About to call getSlotValue for give/verb/mode/obligatory
Got indicative
About to call getSlotValue for give/verb/ta/obligatory
Got PAST
About to call getSlotValue for give/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for give/verb/obj/obligatory
Got 3.sing
About to call getSlotValue for give/verb/question/obligatory
Got not.Q
About to call getSlotValue for girl/noun/case/obligatory
Got DAT
About to call getSlotValue for apple/noun/case/obligatory
Got ACC
About to call getSlotValue for surprise/verb/negation/obligatory
Got POS
About to call getSlotValue for surprise/verb/voice/obligatory
Got active
About to call getSlotValue for surprise/verb/mode/obligatory
Got indicative
About to call getSlotValue for surprise/verb/ta/obligatory
Got PAST
About to call getSlotValue for surprise/verb/subj/obligatory
Got 3.sing
About to call getSlotValue for surprise/verb/obj/obligatory
Got none
About to call getSlotValue for surprise/verb/question/obligatory
Got not.Q
About to call getSlotValue for teacher/noun/case/obligatory
Got DAT
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM">
+          <thingy type="nouncase" function="prefix" gloss="NOM"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
+          <thingy type="verbnegation" function="prefix" gloss="POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
+          <thingy type="verbmode" function="prefix" gloss="indicative"/>
+          <thingy type="verbta" function="prefix" gloss="PAST"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
+          <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbobj" function="suffix" gloss="3.sing"/>
+          <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
+          <thingy type="nouncase" function="prefix" gloss="DAT"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC">
+          <thingy type="nouncase" function="prefix" gloss="ACC"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
+      <thingy type="verbnegation" function="prefix" gloss="POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
+      <thingy type="verbmode" function="prefix" gloss="indicative"/>
+      <thingy type="verbta" function="prefix" gloss="PAST"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
+      <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="none"/>
+      <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
+      <thingy type="nouncase" function="prefix" gloss="DAT"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    </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" number="sing">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="ACC">
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
    <thingy type="verbnegation" function="prefix" gloss="POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <thingy type="verbmode" function="prefix" gloss="indicative"/>
    <thingy type="verbta" function="prefix" gloss="PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
    <thingy type="verbobj" function="suffix" gloss="none"/>
    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    </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="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="none"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y" slots="Cir V1">n̪ʷˈsˤkʼʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="s+k ai t&#x2BC;" slots="Cir Cfr">skaitʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="k&#x2B0; a s &#x2C8; s&#x2B7; a" slots="Cir V1">kʰasˈsʷa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="t e f i&#x2D0; t&#x361;&#x283; e j" slots="C C">tefiːt͡ʃej</word>
  </flat>
</example>

vowelharmony:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; y &#x29D;" slots="Cip Cir" underlying="n&#x32A; u &#x29D;">n̪yʝ</thingy>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y" slots="Cir V1">n̪ʷˈsˤkʼʷy</word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="s+k ai t&#x2BC;" slots="Cir Cfr">skaitʼ</word>
    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="k&#x2B0; a s &#x2C8; s&#x2B7; a" slots="Cir V1">kʰasˈsʷa</word>
    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="t e f i&#x2D0; t&#x361;&#x283; e j" slots="C C">tefiːt͡ʃej</word>
  </flat>
</example>

applysandhi:

/k͡xʷ/ + /m/ > // + /ŋʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /n̪ʷ/ > // + /ɲ/
/y/ + /sʷ+tˤ/ > /y/ + /sʷ+tˤ/
/sʷ+tˤ/ + /j/ > // + /j/
/sʷ+q/ + /ʋ/ > // + /sʷ+q/
/kʰ/ + /s+k/ > // + /kʰ/
/n̪ʷ/ + /sˤ+tʼʷ/ > // + /n̪ʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /kʰ/ > // + /x/
/a/ + /sʷ+tˤ/ > /a/ + /sʷ+tˤ/
/sʷ+tˤ/ + /sˤ+qʼ/ > // + /sʷ+tˤ/
/nˤ/ + /ʋ/ > // + /m/
/kʰ/ + /t/ > // + /tʰ/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; y &#x29D;" slots="Cip Cir" underlying="n&#x32A; u &#x29D;">n̪yʝ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y" slots="Cir V1">n̪ʷˈsˤkʼʷy</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e s&#x2B7;+q" slots="Cms Cms">jesʷq</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="s+k ai t&#x2BC;" slots="Cir Cfr">skaitʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="n&#x32A;&#x2B7;" slots="Cip Cip">n̪ʷ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" slots="Cir Cfr">sˤtʼʷaɕtʰuːˈt͡ʃex</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="k&#x2B0; a s &#x2C8; s&#x2B7; a" slots="Cir V1">kʰasˈsʷa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2E4;+q&#x2BC; u n&#x2E4;" slots="Cms Cms">sˤqʼunˤ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="t e f i&#x2D0; t&#x361;&#x283; e j" slots="C C">tefiːt͡ʃej</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; &#x254;i &#x294;" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n y" underlying="n&#x32A; u &#x29D;">ny</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y" underlying="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y">ɲˈsˤkʼʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2B0; ai t&#x2BC;" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">n̪ʷaɕtʰuːˈt͡ʃex</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="x a s &#x2C8; s&#x2B7; a" underlying="k&#x2B0; a s &#x2C8; s&#x2B7; a">xasˈsʷa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="t&#x2B0; e f i&#x2D0; t&#x361;&#x283; e j" underlying="t e f i&#x2D0; t&#x361;&#x283; e j">tʰefiːt͡ʃej</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; &#x254;i &#x294;" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n y" underlying="n&#x32A; u &#x29D;">ny</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="&#x272; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y" underlying="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y">ɲˈsˤkʼʷy</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="j e" underlying="j e s&#x2B7;+q">je</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="s&#x2B7;+q o j" underlying="&#x28B; o j">sʷqoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2B0; ai t&#x2BC;" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="" underlying="n&#x32A;&#x2B7;"></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">n̪ʷaɕtʰuːˈt͡ʃex</word>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="x a s &#x2C8; s&#x2B7; a" underlying="k&#x2B0; a s &#x2C8; s&#x2B7; a">xasˈsʷa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="none.OBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4; u" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="m o j" underlying="&#x28B; o j">moj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="t&#x2B0; e f i&#x2D0; t&#x361;&#x283; e j" underlying="t e f i&#x2D0; t&#x361;&#x283; e j">tʰefiːt͡ʃej</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">ny</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" underlying="n&#x32A;&#x2B7; &#x2C8; s&#x2E4;+k&#x2BC;&#x2B7; y">ɲˈsˤkʼʷy</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" underlying="j e s&#x2B7;+q">je</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">sʷqoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" underlying="n&#x32A;&#x2B7;"></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" underlying="s&#x2E4;+t&#x2BC;&#x2B7; a &#x255;+t&#x2B0; u&#x2D0; &#x2C8; t&#x361;&#x283; e x">n̪ʷaɕtʰuːˈt͡ʃex</word>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" number="sing">st̪ˤuɕkʼaːˈɲ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" underlying="k&#x2B0; a s &#x2C8; s&#x2B7; a">xasˈsʷa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="none.OBJ" underlying="s&#x2E4;+q&#x2BC; u n&#x2E4;">sʷtˤu</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">moj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" underlying="t e f i&#x2D0; t&#x361;&#x283; e j">tʰefiːt͡ʃej</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɔiʔ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̪ʷsˤkʼʷy&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-jesʷq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰ-&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;skaitʼ&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;n̪ʷ-&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;sˤtʼʷaˈɕtʰuːt͡ʃex&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;st̪ˤuˈɕkʼaːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʰassʷa&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;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sˤqʼunˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;none.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰ-&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;tefiːt͡ʃej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋʷɔiʔ ɴʷanˈyɲsˤkʼʷyjesʷqoj kʰaitʼ n̪ʷaˈɕtʰuːt͡ʃex st̪ˤuˈɕkʼaːɲ ɴʷanuxˈassʷasʷtˤumoj tʰefiːt͡ʃej</p>
+  <p>ngwoiq qnwanyñṣgquyjeswqoj kaidt nwaćtuudjekh sḍućgkaañ qnwanukhasswaswḍumoj tefiidjej</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>mɔiʔ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈn̪ʷsˤkʼʷy</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-jesʷq</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>kʰ-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>skaitʼ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>n̪ʷ-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>sˤtʼʷaˈɕtʰuːt͡ʃex</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>st̪ˤuˈɕkʼaːɲ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈkʰassʷa</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-sˤqʼunˤ</o>
+      <g>none.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>kʰ-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tefiːt͡ʃej</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 complementise:

<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>
+        <word gloss="COMP" posp="pp"/>
        <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>
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>
-        <word gloss="COMP" posp="pp"/>
-        <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>
+        <word gloss="COMP" posp="pp"/>
      </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">
          <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>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="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" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="ACC">
+    <np role="obj" tr="rheme" case="ACC" 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">
          <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>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

prodrop:

No change.

addclitics:

No change.

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">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" 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" indobj="3.sing" obj="1excl.sing"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
    </np>
    <np role="obj" tr="rheme" case="ACC" number="sing" person="1excl">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
-          <word posp="verb" gloss="love"/>
+          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
-          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="PAST"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="verbnegation" function="prefix" gloss="POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <thingy type="verbmode" function="prefix" gloss="indicative"/>
-    <thingy type="verbta" function="prefix" gloss="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="verbsubj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="&#x283;+t&#x2B0; &#x2C8; s&#x2E4;+t&#x32A;&#x2E4; a" slots="Cir V1">ʃtʰˈsˤt̪ˤa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="n&#x32A; e &#x294;" slots="Cms Cms">n̪eʔ</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="s+k ai t&#x2BC;" slots="Cir Cfr">skaitʼ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o n&#x32A;" slots="Cms Cms">ʑt̪on̪</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k͡xʷ/ + /m/ > // + /ŋʷ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /n̪/ > // + /n/
/ʝ/ + /ʃ+tʰ/ > // + /ʃ+tʰ/
/a/ + /sʷ+tˤ/ > /a/ + /sʷ+tˤ/
/sʷ+tˤ/ + /n̪/ > // + /n̪/
/ʔ/ + /ʋ/ > // + /p/
/kʰ/ + /s+k/ > // + /kʰ/
/χʷ/ + /ŋʷ/ > // + /ɴʷ/
/p͡f/ + /t͡sʰ/ > // + /t͡s/
/t͡s/ + /m/ > // + /n/
/s+qʷ/ + /s+qʷ/ > // + /s+qʷ/
/oː/ + /t͡sʼʷ/ > /oː/ + /t͡sʼʷ/
/t͡sʼʷ/ + /ʑ+t̪/ > /t͡sʼʷ/ + /ʑ+t̪/
/n̪/ + /ʋ/ > // + /n̪ʷ/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="k&#x361;x&#x2B7;" slots="Cip Cip">k͡xʷ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="m &#x254;i &#x294;" slots="Cir Cfr">mɔiʔ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n&#x32A; u &#x29D;" slots="Cip Cir">n̪uʝ</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="&#x283;+t&#x2B0; &#x2C8; s&#x2E4;+t&#x32A;&#x2E4; a" slots="Cir V1">ʃtʰˈsˤt̪ˤa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="s&#x2B7;+t&#x2E4;" slots="Cms Cms">sʷtˤ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="n&#x32A; e &#x294;" slots="Cms Cms">n̪eʔ</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="k&#x2B0;" slots="Cip Cip">kʰ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="s+k ai t&#x2BC;" slots="Cir Cfr">skaitʼ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;" slots="Cir Cfr">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="&#x3C7;&#x2B7;" slots="Cip Cip">χʷ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x14B;&#x2B7; a p&#x361;f" slots="Cip Cip">ŋʷap͡f</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="t&#x361;s&#x2B0;" slots="Cmp Cmp">t͡sʰ</thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="m e s+q&#x2B7;" slots="Cip Cir">mesqʷ</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;" slots="Cir V1">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;" slots="Cms Cms">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o n&#x32A;" slots="Cms Cms">ʑt̪on̪</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="&#x28B; o j" slots="Cms Cfs">ʋoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k" slots="Cir Cfr">n̪ˤuˈk</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;" slots="Cir Cfr">st̪ˤuɕkʼaːˈɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; &#x254;i &#x294;" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="&#x283;+t&#x2B0; &#x2C8; s&#x2E4;+t&#x32A;&#x2E4; a">ʃtʰˈsˤt̪ˤa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="n&#x32A; e" underlying="n&#x32A; e &#x294;">n̪e</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="p o j" underlying="&#x28B; o j">poj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2B0; ai t&#x2BC;" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="n&#x32A;&#x2B7; o j" underlying="&#x28B; o j">n̪ʷoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph="" underlying="k&#x361;x&#x2B7;"></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="&#x14B;&#x2B7; &#x254;i &#x294;" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PAST" attach="prefix" ph="n u" underlying="n&#x32A; u &#x29D;">nu</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="&#x283;+t&#x2B0; &#x2C8; s&#x2E4;+t&#x32A;&#x2E4; a">ʃtʰˈsˤt̪ˤa</word>
-    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" attach="suffix" ph="" underlying="s&#x2B7;+t&#x2E4;"></thingy>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="n&#x32A; e" underlying="n&#x32A; e &#x294;">n̪e</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="p o j" underlying="&#x28B; o j">poj</thingy>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="" underlying="k&#x2B0;"></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2B0; ai t&#x2BC;" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" ph="&#x274;&#x2B7; o &#x2C8; s&#x2E4;">ɴʷoˈsˤ</word>
-    <thingy type="verbnegation" function="prefix" gloss="POS" attach="prefix" ph="" underlying="&#x3C7;&#x2B7;"></thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="&#x274;&#x2B7; a" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
-    <thingy type="verbmode" function="prefix" gloss="indicative" attach="prefix" ph="" underlying="t&#x361;s&#x2B0;"></thingy>
-    <thingy type="verbta" function="prefix" gloss="PRES" attach="prefix" ph="n e" underlying="m e s+q&#x2B7;">ne</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="s+q&#x2B7; &#x2C8; n&#x32A; o&#x2D0;">sqʷˈn̪oː</word>
-    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ" attach="suffix" ph="t&#x361;s&#x2BC;&#x2B7;">t͡sʼʷ</thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="&#x291;+t&#x32A; o" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
-    <thingy type="verbquestion" function="suffix" gloss="not.Q" attach="suffix" ph="n&#x32A;&#x2B7; o j" underlying="&#x28B; o j">n̪ʷoj</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="n&#x32A;&#x2E4; u &#x2C8; k">n̪ˤuˈk</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl" ph="s+t&#x32A;&#x2E4; u &#x255;+k&#x2BC; a&#x2D0; &#x2C8; &#x272;">st̪ˤuɕkʼaːˈɲ</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" underlying="k&#x361;x&#x2B7;"></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" underlying="m &#x254;i &#x294;">ŋʷɔiʔ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PAST" underlying="n&#x32A; u &#x29D;">nu</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">ʃtʰˈsˤt̪ˤa</word>
+    <thingy type="verbsubj" function="suffix" gloss="3.sing.SUBJ" underlying="s&#x2B7;+t&#x2E4;"></thingy>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" underlying="n&#x32A; e &#x294;">n̪e</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">poj</thingy>
+    <thingy type="nouncase" function="prefix" gloss="DAT" underlying="k&#x2B0;"></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" underlying="s+k ai t&#x2BC;">kʰaitʼ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM">ɴʷoˈsˤ</word>
+    <thingy type="verbnegation" function="prefix" gloss="POS" underlying="&#x3C7;&#x2B7;"></thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" underlying="&#x14B;&#x2B7; a p&#x361;f">ɴʷa</thingy>
+    <thingy type="verbmode" function="prefix" gloss="indicative" underlying="t&#x361;s&#x2B0;"></thingy>
+    <thingy type="verbta" function="prefix" gloss="PRES" underlying="m e s+q&#x2B7;">ne</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">sqʷˈn̪oː</word>
+    <thingy type="verbsubj" function="suffix" gloss="1excl.sing.SUBJ">t͡sʼʷ</thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" underlying="&#x291;+t&#x32A; o n&#x32A;">ʑt̪o</thingy>
+    <thingy type="verbquestion" function="suffix" gloss="not.Q" underlying="&#x28B; o j">n̪ʷoj</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">n̪ˤuˈk</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" number="sing" person="1excl">st̪ˤuɕkʼaːˈɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɔiʔ&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;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪uʝ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʃtʰsˤt̪ˤa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-sʷtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n̪eʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰ-&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;skaitʼ&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;ˈɴʷosˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋʷap͡f-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mesqʷ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ˈsqʷn̪oː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡sʼʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʑt̪on̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ʋoj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈn̪ˤuk&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;st̪ˤuˈɕkʼaːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ŋʷɔiʔ ɴʷanˈuʃtʰsˤt̪ˤan̪epoj kʰaitʼ ˈɴʷosˤ ɴʷanˈesqʷn̪oːt͡sʼʷʑt̪on̪ʷoj ˈn̪ˤuk st̪ˤuˈɕkʼaːɲ</p>
+  <p>ngwoiq qnwanushtṣḍaneboj kaidt qnwoṣ qnwanesqwnootzʼwźdonwoj ṇug sḍućgkaañ</p>
+  <il>
+    <w>
+      <o>k͡xʷ-</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>mɔiʔ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>n̪uʝ-</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ˈʃtʰsˤt̪ˤa</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-sʷtˤ</o>
+      <g>3.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-n̪eʔ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>kʰ-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>skaitʼ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ˈɴʷosˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>χʷ-</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ŋʷap͡f-</o>
+      <g>active</g>
+    </w>
+    <w>
+      <o>t͡sʰ-</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>mesqʷ-</o>
+      <g>PRES</g>
+    </w>
+    <w>
+      <o>ˈsqʷn̪oː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡sʼʷ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>-ʑt̪on̪</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>-ʋoj</o>
+      <g>not.Q</g>
+    </w>
+    <w>
+      <o>ˈn̪ˤuk</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>st̪ˤuˈɕkʼaːɲ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>