Changes between Version 37 and Version 38 of FCS-spec


Ignore:
Timestamp:
08/06/11 10:23:30 (13 years ago)
Author:
vronk
Comment:

added kwic-DataView? alternatives

Legend:

Unmodified
Added
Removed
Modified
  • FCS-spec

    v37 v38  
    147147 </ccs:DataView>
    148148}}}
     149 Alternatively - to avoid mixed content - the context could be enclosed in separate element as well:
     150 {{{
     151  <ccs:DataView type="kwic"><c>Some text with </c><kw>keyword</kw> <c>highlighted</c></ccs:DataView>           
     152}}}
     153 Or in the extreme form, every token is wrapped in an element:
     154 {{{
     155  <ccs:DataView type="kwic">
     156      <t id="t1">Some</t>
     157      <t id="t2">text</t>
     158      <t id="t3" >with</t>
     159      <t id="t4" kw="1">keyword</t>
     160      <t id="t5">highlighted</t>
     161  </ccs:DataView>               
     162}}}
     163  This comes close to the way the text is encoded in '''TCF''' and would accordingly allow to add (stand-off) annotation layers (lemma, POS, but also syntactic annotations).
     164
    149165  If there is some associated metadata (like bibliographic information about the source of the hit, this is to be encoded in a separate element `<ccs:Metadata>`.
    150166