[CWB] Annotation of features/feature sets for structures in CQPweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Dec 10 22:42:56 CET 2012


Hi Hannah,

Exactly the format you specify is indeed possible, though it doesn't encode "feature sets" in the same sense that you can have on p-attributes. Rather, 

-S div:0+title+type

assumes that there exists in the input elements like this:

<div title="XXX" type="YYY">
...
</div>

And in indexing these are translated to multiple single-value s-attributes, namely equivalent to what you'd get from the following input:

<div>
<div_title XXX>
<div_type YYY>
...
</div_type>
</div_title>
</div>

Hope that helps!

best

Andrew.


-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Hannah Kermes
Sent: 10 December 2012 13:52
To: Open source development of the Corpus WorkBench
Subject: [CWB] Annotation of features/feature sets for structures in CQPweb

Hello,

is it possible to encode features/feature sets for structures in CQPweb
- I hope I didn't miss it in the documentation?

The command-line code would be something like:

-S div:0+title+type

Thanks in advance
Hannah

--
Dr. Hannah Kermes
Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6) Universität des Saarlandes Campus, Building A2.2, Room 1.07
D-66123 Saarbrücken
phone: +49-(0)681-302-70077

_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list