Example: <forest>

These search results reproduce every example of the use of <forest> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <forest> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

19 Graphs, Networks, and Trees


19.3 Another Tree Notation

<forest n="ex5type="derivation-syntactic">
 <eTree n="Stage 1xml:id="S1SBAR">
  <label>S'</label>
  <eTree xml:id="S1COMP">
   <label>COMP</label>
   <eLeaf xml:id="S1E">
    <label>e</label>
   </eLeaf>
  </eTree>
  <eTree xml:id="S1S">
   <label>S</label>
   <eTree xml:id="S1NP1">
    <label>NP</label>
    <eLeaf>
     <label>you</label>
    </eLeaf>
   </eTree>
   <eTree xml:id="S1VP">
    <label>VP</label>
    <eTree xml:id="S1V">
     <label>V</label>
     <eLeaf>
      <label>do</label>
     </eLeaf>
    </eTree>
    <eTree xml:id="S1NP2">
     <label>NP</label>
     <eLeaf xml:id="S1WH">
      <label>what</label>
     </eLeaf>
    </eTree>
   </eTree>
  </eTree>
 </eTree>
 <eTree n="Stage 2xml:id="S2SBARcorresp="#S1SBAR">
  <label>S'</label>
  <eTree xml:id="S2COMPcorresp="#S1COMP">
   <label>COMP</label>
   <eTree copyOf="#S1NP2corresp="#S1E">
    <label>NP</label>
   </eTree>
  </eTree>
  <eTree xml:id="S2Scorresp="#S1S">
   <label>S</label>
   <eTree xml:id="S2NP1copyOf="#S1NP1">
    <label>NP</label>
   </eTree>
   <eTree xml:id="S2VPcorresp="#S1VP">
    <label>VP</label>
    <eTree xml:id="S2VcopyOf="#S1V">
     <label>V</label>
    </eTree>
    <eTree xml:id="S2NP2corresp="#S1NP2">
     <label>NP</label>
     <eLeaf corresp="#S1WH">
      <label>t</label>
     </eLeaf>
    </eTree>
   </eTree>
  </eTree>
 </eTree>
</forest>

<forest>

<forest n="ex5type="derivation-syntactic">
 <eTree n="Stage 1xml:id="s1SBAR">
  <label>S'</label>
  <eTree xml:id="s1S">
   <label>S</label>
   <eTree xml:id="s1NP1">
    <label>NP</label>
    <eLeaf>
     <label>you</label>
    </eLeaf>
   </eTree>
   <eTree xml:id="s1VP">
    <label>VP</label>
    <eTree xml:id="s1V">
     <label>V</label>
     <eLeaf>
      <label>do</label>
     </eLeaf>
    </eTree>
   </eTree>
  </eTree>
 </eTree>
 <eTree n="Stage 2xml:id="s2SBARcorresp="#s1SBAR">
  <label>S'</label>
  <eTree xml:id="s2Scorresp="#s1S">
   <label>S</label>
   <eTree xml:id="s2NP1copyOf="#s1NP1">
    <label>NP</label>
   </eTree>
   <eTree xml:id="s2VPcorresp="#s1VP">
    <label>VP</label>
    <eTree xml:id="s2VcopyOf="#s1V">
     <label>V</label>
    </eTree>
    <eTree xml:id="s2NP2corresp="#s1NP2">
     <label>NP</label>
     <eLeaf corresp="#s1WH">
      <label>t</label>
     </eLeaf>
    </eTree>
   </eTree>
  </eTree>
 </eTree>
</forest>

<listForest>

<listForest>
 <forest type="derivation-syntactic">
  <tree ord="true">
   <root children="#fgex1 #fgex2"/>
<!-- ... -->
  </tree>
<!-- ... -->
 </forest>
 <forest type="derivation-prosodic">
  <tree ord="true">
   <root children="#fgex3 #fgex4"/>
<!-- ... -->
  </tree>
<!-- ... -->
 </forest>
</listForest>