[CWB] s-attributes

Hardie, Andrew a.hardie at lancaster.ac.uk
Thu Apr 11 16:18:29 CEST 2013


Try this:

Subcorpus = <p_monthstudy="[1-7]">[]*</p_monthstudy>;
Subcorpus;
(now do your search within the subcorpus you have activated)

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of leontyna bratankova
Sent: 11 April 2013 14:48
To: cwb at sslmit.unibo.it
Subject: [CWB] s-attributes

Hello!
I'm new to CWB. I'd need a help in delimiting my query to a particular portion of my corpus defined by a specific structural attribute.
My s-attribute is <p_monthstudy> and it has got different values (eg. <p_monthstudy=1> or  <p_monthstudy=20>).
I'd like to extract my query from a restricted portion of the corpus, eg. <p_monthstudy=1-7>.
How to formulate such request?
Thank you very much for your answer.
Best regards,
Leontyna


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20130411/b64f0af1/attachment.html>


More information about the CWB mailing list