Exemple: <fs> (structure de traits)

These search results reproduce every example of the use of <fs> 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 <fs> 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.

18 Feature Structures


18.2 Elementary Feature Structures and the Binary Feature Value

<fs type="phonological_segments">
 <f name="consonantal">
  <binary value="true"/>
 </f>
 <f name="vocalic">
  <binary value="false"/>
 </f>
 <f name="voiced">
  <binary value="false"/>
 </f>
 <f name="anterior">
  <binary value="true"/>
 </f>
 <f name="coronal">
  <binary value="true"/>
 </f>
 <f name="continuant">
  <binary value="true"/>
 </f>
 <f name="strident">
  <binary value="true"/>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="case">
  <symbol value="accusative"/>
 </f>
 <f name="gender">
  <symbol value="feminine"/>
 </f>
 <f name="number">
  <symbol value="plural"/>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="case">
  <symbol value="accusative"/>
 </f>
 <f name="gender">
  <symbol value="feminine"/>
 </f>
 <f name="singular">
  <binary value="false"/>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="address">
  <string>3418 East Third Street</string>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="houseNumber">
  <numeric value="3418"/>
 </f>
 <f name="streetName">
  <string>East Third Street</string>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="houseNumber">
  <numeric value="3418" max="3440"/>
 </f>
 <f name="streetName">
  <string>East Third Street</string>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="dailyRainFall">
  <numeric value="0.0" max="1.3" trunc="false"/>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="dailyRainFall">
  <numeric value="0.0" max="1.3" trunc="true"/>
 </f>
</fs>

18.3 Other Atomic Feature Values

<fs>
 <f name="voice">active</f>
 <f name="tense">SimPre</f>
</fs>

18.3 Other Atomic Feature Values

<fs>
<!--...-->
 <f
   name="part_of_speech"
   dcr:datcat="http://www.isocat.org/datcat/DC-1345"
   fVal="common noun"
   dcr:valueDatcat="http://www.isocat.org/datcat/DC-1256"/>

<!-- ... -->
</fs>

18.4 Feature Libraries and Feature-Value Libraries

<fs
  feats="#CNS1 #VOC0 #VOI0 #ANT1 #COR1 #CNT0 #STR0"/>

<fs
  feats="#CNS1 #VOC0 #VOI1 #ANT1 #COR1 #CNT0 #STR0"/>

<fs
  feats="#CNS1 #VOC0 #VOI0 #ANT1 #COR1 #CNT1 #STR1"/>

<fs
  feats="#CNS1 #VOC0 #VOI1 #ANT1 #COR1 #CNT1 #STR1"/>

18.4 Feature Libraries and Feature-Value Libraries

<fvLib xml:id="fsl1" n="phonological segment definitions">
<!-- ... -->
 <fs
   xml:id="T.DF"
   feats="#CNS1 #VOC0 #VOI0 #ANT1 #COR1 #CNT0 #STR0"/>

 <fs
   xml:id="D.DF"
   feats="#CNS1 #VOC0 #VOI1 #ANT1 #COR1 #CNT0 #STR0"/>

 <fs
   xml:id="S.DF"
   feats="#CNS1 #VOC0 #VOI0 #ANT1 #COR1 #CNT1 #STR1"/>

 <fs
   xml:id="Z.DF"
   feats="#CNS1 #VOC0 #VOI1 #ANT1 #COR1 #CNT1 #STR1"/>

<!-- ... -->
</fvLib>

18.5 Feature Structures as Complex Feature Values

<fs type="word">
 <f name="surface">
  <string>love</string>
 </f>
 <f name="syntax">
  <fs type="category">
   <f name="pos">
    <symbol value="verb"/>
   </f>
   <f name="val">
    <symbol value="transitive"/>
   </f>
  </fs>
 </f>
 <f name="semantics">
  <fs type="act">
   <f name="rel">
    <symbol value="LOVE"/>
   </f>
  </fs>
 </f>
</fs>

18.5 Feature Structures as Complex Feature Values

<fvLib n="Major category definitions">
<!-- ... -->
 <fs xml:id="N" type="noun">
<!-- noun features defined here -->
 </fs>
 <fs xml:id="V" type="verb">
<!-- verb features defined here -->
 </fs>
</fvLib>

18.5 Feature Structures as Complex Feature Values

<fs type="word">
 <f name="surface">
  <string>love</string>
 </f>
 <f name="syntax">
  <fs type="category">
   <f name="pos" fVal="#V"/>
   <f name="val" fVal="#TRNS"/>
  </fs>
 </f>
 <f name="semantics">
  <fs type="act">
   <f name="rel" fVal="#LOVE"/>
  </fs>
 </f>
</fs>

18.6 Re-entrant Feature Structures

<fs xml:id="NVA">
 <f name="nominal">
  <fs>
   <f name="nm-num">
    <vLabel name="L1">
     <symbol value="singular"/>
    </vLabel>
   </f>
<!-- other nominal features -->
  </fs>
 </f>
 <f name="verbal">
  <fs>
   <f name="vb-num">
    <vLabel name="L1"/>
   </f>
  </fs>
<!-- other verbal features -->
 </f>
</fs>

18.7 Collections as Complex Feature Values

<fs xml:id="p027" type="person">
 <f name="forenames">
  <vColl>
   <string>Daniel</string>
   <string>Edouard</string>
  </vColl>
 </f>
 <f name="mother" fVal="#p002"/>
 <f name="father" fVal="#p009"/>
 <f name="birthDate">
  <fs type="date" feats="#y1988 #m04 #d17"/>
 </f>
 <f name="birthPlace" fVal="#austintx"/>
 <f name="siblings">
  <vColl org="set">
   <fs copyOf="#pnb005"/>
   <fs copyOf="#prb001"/>
  </vColl>
 </f>
</fs>

18.7 Collections as Complex Feature Values

<fs type="word">
 <f name="category">
  <symbol value="verb"/>
 </f>
 <f name="tense">
  <symbol value="present"/>
 </f>
 <f name="agreement">
  <fs>
   <f name="person">
    <symbol value="third"/>
   </f>
   <f name="number">
    <symbol value="singular"/>
   </f>
  </fs>
 </f>
</fs>

18.7 Collections as Complex Feature Values

<fs type="word">
 <f name="category">
  <symbol value="verb"/>
 </f>
 <f name="tense">
  <symbol value="present"/>
 </f>
 <f name="agreement">
  <vColl org="set">
   <symbol value="third"/>
   <symbol value="singular"/>
  </vColl>
 </f>
</fs>

18.7 Collections as Complex Feature Values

<fs>
 <f name="lex">
  <symbol value="auxquels"/>
 </f>
 <f name="maf">
  <vColl org="list">
   <fs>
    <f name="cat">
     <symbol value="prep"/>
    </f>
   </fs>
   <fs>
    <f name="cat">
     <symbol value="pronoun"/>
    </f>
    <f name="kind">
     <symbol value="rel"/>
    </f>
    <f name="num">
     <symbol value="pl"/>
    </f>
    <f name="gender">
     <symbol value="masc"/>
    </f>
   </fs>
  </vColl>
 </f>
</fs>

18.8.1 Alternation

<f name="rooms">
 <vAlt>
  <fs>
   <f name="number.of.bathrooms">
    <numeric value="2"/>
   </f>
  </fs>
  <fs>
   <f name="number.of.bedrooms">
    <numeric value="2"/>
   </f>
  </fs>
 </vAlt>
</f>

18.8.1 Alternation

<f name="rooms">
 <vAlt>
  <fs>
   <f name="number.of.bathrooms">
    <numeric value="2"/>
   </f>
  </fs>
  <fs>
   <f name="number.of.bedrooms">
    <numeric value="2"/>
   </f>
  </fs>
  <vColl>
   <fs>
    <f name="number.of.bathrooms">
     <numeric value="2"/>
    </f>
   </fs>
   <fs>
    <f name="number.of.bedrooms">
     <numeric value="2"/>
    </f>
   </fs>
  </vColl>
 </vAlt>
</f>

18.8.1 Alternation

<fs type="real_estate_listing">
 <f name="selling.points">
  <vColl org="set">
   <string>alarm system</string>
   <string>good view</string>
   <vAlt>
    <string>pool</string>
    <string>jacuzzi</string>
   </vAlt>
  </vColl>
 </f>
</fs>

18.8.1 Alternation

<fs type="real_estate_listing">
 <f name="selling.points">
  <vColl org="set">
   <vAlt>
    <string>alarm system</string>
    <string>good view</string>
   </vAlt>
   <vAlt>
    <string>pool</string>
    <string>jacuzzi</string>
   </vAlt>
  </vColl>
 </f>
</fs>

18.8.3 Collection of Values

<fs>
 <f name="genders">
  <vColl org="set">
   <symbol value="masculine"/>
   <symbol value="feminine"/>
  </vColl>
 </f>
</fs>

18.8.3 Collection of Values

<fs>
 <f name="genders">
  <vMerge org="list">
   <vColl org="set">
    <symbol value="masculine"/>
    <symbol value="feminine"/>
   </vColl>
   <symbol value="neuter"/>
  </vMerge>
 </f>
</fs>

18.10 Linking Text and Analysis

<fvLib xml:id="C6" n="Claws 6 tags">
<!-- ... -->
 <fs xml:id="ajs" type="grammatical_structure" feats="#wj #ds"/>
 <fs xml:id="at0" type="grammatical_structure" feats="#wl"/>
 <fs xml:id="pnp" type="grammatical_structure" feats="#wr #rp"/>
 <fs xml:id="vvd" type="grammatical_structure" feats="#wv #bv #fd"/>
 <fs xml:id="prp" type="grammatical_structure" feats="#wp #bp"/>
 <fs xml:id="nnn" type="grammatical_structure" feats="#wn #tc #ns"/>
<!-- ... -->
</fvLib>

18.11.1 Linking a TEI Text to Feature System Declarations

<TEI xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
  <fileDesc>
<!-- doc1 -->
  </fileDesc>
  <encodingDesc>
<!-- ... -->
   <fsdDecl>
    <fsDecl type="gpsg">
<!-- information about this type -->
    </fsDecl>
    <fsDecl type="lex">
<!-- information about this type -->
    </fsDecl>
   </fsdDecl>
<!-- ... -->
  </encodingDesc>
 </teiHeader>
 <text>
  <body>
<!-- ... -->
   <fs type="lex">
<!-- an instance of the typed feature structure "lex" -->
   </fs>
<!-- ... -->
  </body>
 </text>
</TEI>

18.11.1 Linking a TEI Text to Feature System Declarations

<TEI xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
  <fileDesc>
<!-- doc2 -->
  </fileDesc>
  <encodingDesc>
<!-- ... -->
   <fsdDecl>
    <fsdLink type="gpsg" target="doc1.xml#GPSG"/>
    <fsdLink type="lexx" target="doc1.xml#GPSG"/>
   </fsdDecl>
<!-- ... -->
  </encodingDesc>
 </teiHeader>
 <text>
  <body>
<!-- ... -->
   <fs type="lexx">
<!-- an instance of the typed feature structure "lex" -->
   </fs>
<!-- ... -->
  </body>
 </text>
</TEI>

18.11.3 Feature Declarations

<fDecl name="COMP">
 <fDescr>surface form of the complementizer</fDescr>
 <vRange>
  <vAlt>
   <symbol value="for"/>
   <symbol value="that"/>
   <symbol value="whether"/>
   <symbol value="if"/>
   <symbol value="NIL"/>
  </vAlt>
 </vRange>
 <vDefault>
  <if>
   <fs>
    <f name="VFORM">
     <symbol value="INF"/>
    </f>
    <f name="SUBJ">
     <binary value="true"/>
    </f>
   </fs>
   <then/>
   <symbol value="for"/>
  </if>
 </vDefault>
</fDecl>

18.11.3 Feature Declarations

<fDecl name="AGR">
 <fDescr>agreement for person and number</fDescr>
 <vRange>
  <fs type="Agreement"/>
 </vRange>
</fDecl>

<if>

<vDefault>
 <if>
  <fs>
   <f name="VFORM">
    <symbol value="INF"/>
   </f>
   <f name="SUBJ">
    <binary value="true"/>
   </f>
  </fs>
  <then/>
  <symbol value="for"/>
 </if>
</vDefault>

<then>

<cond>
 <fs>
  <f name="BAR">
   <symbol value="1"/>
  </f>
 </fs>
 <then/>
 <fs>
  <f name="FOO">
   <binary value="false"/>
  </f>
 </fs>
</cond>

18.11.4 Feature Structure Constraints

<cond>
 <fs>
  <f name="INV">
   <binary value="true"/>
  </f>
 </fs>
 <then/>
 <fs>
  <f name="AUX">
   <binary value="true"/>
  </f>
  <f name="VFORM">
   <symbol value="FIN"/>
  </f>
 </fs>
</cond>

18.11.4 Feature Structure Constraints

<bicond>
 <fs>
  <f name="BAR">
   <symbol value="0"/>
  </f>
 </fs>
 <iff/>
 <fs>
  <f name="N">
   <binary value="true"/>
  </f>
  <f name="V">
   <binary value="true"/>
  </f>
  <f name="SUBCAT">
   <binary value="true"/>
  </f>
 </fs>
</bicond>

18.11.4 Feature Structure Constraints

<cond>
 <fs>
  <f name="BAR">
   <symbol value="1"/>
  </f>
 </fs>
 <then/>
 <fs>
  <f name="SUBCAT">
   <binary value="false"/>
  </f>
 </fs>
</cond>

<fsConstraints>

<fsConstraints>
 <cond>
  <fs>
<!-- ...-->
  </fs>
  <then/>
  <fs>
<!-- ... -->
  </fs>
 </cond>
</fsConstraints>

<cond>

<cond>
 <fs>
  <f name="BAR">
   <symbol value="1"/>
  </f>
 </fs>
 <then/>
 <fs>
  <f name="SUBCAT">
   <binary value="false"/>
  </f>
 </fs>
</cond>

<bicond>

<bicond>
 <fs>
  <f name="FOO">
   <symbol value="42"/>
  </f>
 </fs>
 <iff/>
 <fs>
  <f name="BAR">
   <binary value="true"/>
  </f>
 </fs>
</bicond>

<iff>

<bicond>
 <fs>
  <f name="FOO">
   <symbol value="42"/>
  </f>
 </fs>
 <iff/>
 <fs>
  <f name="BAR">
   <binary value="true"/>
  </f>
 </fs>
</bicond>

18.11.5 A Complete Example

<TEI xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
  <fileDesc>
   <titleStmt>
    <title>A sample FSD based on an extract from Gazdar
         et al.'s GPSG feature system for English</title>
    <respStmt>
     <resp>encoded by</resp>
     <name>Gary F. Simons</name>
    </respStmt>
   </titleStmt>
   <publicationStmt>
    <p>This sample was first encoded by Gary F. Simons (Summer
         Institute of Linguistics, Dallas, TX) on January 28, 1991.
         Revised April 8, 1993 to match the specification of FSDs
         in version P2 of the TEI Guidelines. Revised again December 2004 to
         be consistent with the feature structure representation standard
         jointly developed with ISO TC37/SC4.
    </p>
   </publicationStmt>
   <sourceDesc>
    <p>This sample FSD does not describe a complete feature
         system. It is based on extracts from the feature system
         for English presented in the appendix (pages 245–247) of
         Generalized Phrase Structure Grammar, by Gazdar, Klein,
         Pullum, and Sag (Harvard University Press, 1985).</p>
   </sourceDesc>
  </fileDesc>
 </teiHeader>
 <fsdDecl>
  <fsDecl type="GPSG">
   <fsDescr>Encodes a feature structure for the GPSG analysis
       of English (after Gazdar, Klein, Pullum, and Sag)</fsDescr>
   <fDecl name="INV">
    <fDescr>inverted sentence</fDescr>
    <vRange>
     <vAlt>
      <binary value="true"/>
      <binary value="false"/>
     </vAlt>
    </vRange>
    <vDefault>
     <binary value="false"/>
    </vDefault>
   </fDecl>
   <fDecl name="CONJ">
    <fDescr>surface form of the conjunction</fDescr>
    <vRange>
     <vAlt>
      <symbol value="and"/>
      <symbol value="both"/>
      <symbol value="but"/>
      <symbol value="either"/>
      <symbol value="neither"/>
      <symbol value="nor"/>
      <symbol value="or"/>
      <symbol value="NIL"/>
     </vAlt>
    </vRange>
    <vDefault>
     <binary value="false"/>
    </vDefault>
   </fDecl>
   <fDecl name="COMP">
    <fDescr>surface form of the complementizer</fDescr>
    <vRange>
     <vAlt>
      <symbol value="for"/>
      <symbol value="that"/>
      <symbol value="whether"/>
      <symbol value="if"/>
      <symbol value="NIL"/>
     </vAlt>
    </vRange>
    <vDefault>
     <if>
      <fs>
       <f name="VFORM">
        <symbol value="INF"/>
       </f>
       <f name="SUBJ">
        <binary value="true"/>
       </f>
      </fs>
      <then/>
      <symbol value="for"/>
     </if>
    </vDefault>
   </fDecl>
   <fDecl name="AGR">
    <fDescr>agreement for person and number</fDescr>
    <vRange>
     <fs type="Agreement"/>
    </vRange>
   </fDecl>
   <fDecl name="PFORM">
    <fDescr>word form of a preposition</fDescr>
    <vRange>
     <vNot>
      <string/>
     </vNot>
    </vRange>
   </fDecl>
   <fsConstraints>
    <cond>
     <fs>
      <f name="INV">
       <binary value="true"/>
      </f>
     </fs>
     <then/>
     <fs>
      <f name="AUX">
       <binary value="true"/>
      </f>
      <f name="VFORM">
       <symbol value="FIN"/>
      </f>
     </fs>
    </cond>
    <bicond>
     <fs>
      <f name="BAR">
       <symbol value="0"/>
      </f>
     </fs>
     <iff/>
     <fs>
      <f name="N">
       <binary value="true"/>
      </f>
      <f name="V">
       <binary value="true"/>
      </f>
      <f name="SUBCAT">
       <binary value="true"/>
      </f>
     </fs>
    </bicond>
    <cond>
     <fs>
      <f name="BAR">
       <symbol value="1"/>
      </f>
     </fs>
     <then/>
     <fs>
      <f name="SUBCAT">
       <binary value="false"/>
      </f>
     </fs>
    </cond>
   </fsConstraints>
  </fsDecl>
  <fsDecl type="Agreement">
   <fsDescr>This type of feature structure encodes the features
       for subject-verb agreement in English</fsDescr>
   <fDecl name="PERS">
    <fDescr>person (first, second, or third)</fDescr>
    <vRange>
     <vAlt>
      <symbol value="1"/>
      <symbol value="2"/>
      <symbol value="3"/>
     </vAlt>
    </vRange>
   </fDecl>
   <fDecl name="NUM">
    <fDescr>number (singular or plural)</fDescr>
    <vRange>
     <vAlt>
      <symbol value="sg"/>
      <symbol value="pl"/>
     </vAlt>
    </vRange>
   </fDecl>
  </fsDecl>
 </fsdDecl>
</TEI>

<fs>

<fs type="agreement_structure">
 <f name="person">
  <symbol value="third"/>
 </f>
 <f name="number">
  <symbol value="singular"/>
 </f>
</fs>

<fs>

<fs type="agreement_structure">
 <f name="person">
  <symbol value="third"/>
 </f>
 <f name="number">
  <symbol value="singular"/>
 </f>
</fs>

<f>

<fs>
 <f name="voice">active</f>
 <f name="tense">SimPre</f>
</fs>

<vLabel>

<fs>
 <f name="nominal">
  <fs>
   <f name="nm-num">
    <vLabel name="L1">
     <symbol value="singular"/>
    </vLabel>
   </f>
<!-- other nominal features -->
  </fs>
 </f>
 <f name="verbal">
  <fs>
   <f name="vb-num">
    <vLabel name="L1"/>
   </f>
  </fs>
<!-- other verbal features -->
 </f>
</fs>

<vLabel>

<fs>
 <f name="nominal">
  <fs>
   <f name="nm-num">
    <vLabel name="L1">
     <symbol value="singular"/>
    </vLabel>
   </f>
  </fs>
 </f>
 <f name="verbal">
  <fs>
   <f name="vb-num">
    <vLabel name="L1"/>
   </f>
  </fs>
 </f>
</fs>

<vColl>

<fs>
 <f name="lex">
  <symbol value="auxquels"/>
 </f>
 <f name="maf">
  <vColl org="list">
   <fs>
    <f name="cat">
     <symbol value="prep"/>
    </f>
   </fs>
   <fs>
    <f name="cat">
     <symbol value="pronoun"/>
    </f>
    <f name="kind">
     <symbol value="rel"/>
    </f>
    <f name="num">
     <symbol value="pl"/>
    </f>
    <f name="gender">
     <symbol value="masc"/>
    </f>
   </fs>
  </vColl>
 </f>
</fs>

<vColl>

<fs>
 <f name="lex">
  <symbol value="auxquels"/>
 </f>
 <f name="maf">
  <vColl org="list">
   <fs>
    <f name="cat">
     <symbol value="prep"/>
    </f>
   </fs>
   <fs>
    <f name="cat">
     <symbol value="pronoun"/>
    </f>
    <f name="kind">
     <symbol value="rel"/>
    </f>
    <f name="num">
     <symbol value="pl"/>
    </f>
    <f name="gender">
     <symbol value="masc"/>
    </f>
   </fs>
  </vColl>
 </f>
</fs>

1 The TEI Infrastructure


att.datcat

<fs>
 <f
   name="POS"
   dcr:datcat="http://www.isocat.org/datcat/DC-1345"
   fVal="common noun"
   dcr:valueDatcat="http://www.isocat.org/datcat/DC-1256"/>

</fs>

13 Names, Dates, People, and Places


13.3.6.1 Relative Dates and Times

<fs xml:id="gf50" type="date-analysis">
 <f name="event">
  <string>the Fair</string>
 </f>
 <f name="place">
  <string>Glasgow</string>
 </f>
 <f name="year">
  <numeric value="1850"/>
 </f>
 <f name="from-value">
  <string>1850-08-08</string>
 </f>
 <f name="to-value">
  <string>1850-09-19</string>
 </f>
</fs>