[CWB] Dramatic texts in cqpweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Nov 26 03:45:43 CET 2017


Hi Graham,

Re this: n:[word="sort"] & [pos="NOM"] :: n.sp_who="HARPAGON";

Try

n:[word="sort" & pos="NOM"] :: n.sp_who="HARPAGON";

And re this, n:[word="coeur"] :: n.sp_who="HARPAGON" & div1_type="act" & div1_n="1";

Try

n:[word="coeur"] :: n.sp_who="HARPAGON" & n.div1_type="act" & n.div1_n="1";


best

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Graham Ranger
Sent: 25 November 2017 17:57
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] Dramatic texts in cqpweb

Hello to all,
Thanks to the list members, a beta version of a corpus of theatrical 
texts is now up and running.
I am now exploring query possibilities.
In particular, Andrew suggested searching for, say, word "a" uttered by 
speaker "b" with the following type of cqp query:
n:[word="a"] :: n.sp_who="b";
This works nicely.
I'm now wondering whether it is possible to 1) have labels that 
associate multiple attributes and 2) have global constraints bearing on 
more than one condition.
In other words, I'd like to make queries such as:
n:[word="sort"] & [pos="NOM"] :: n.sp_who="HARPAGON";
to look for all occurrences of the French noun "sort" uttered by the 
character Harpagon
or:
n:[word="coeur"] :: n.sp_who="HARPAGON" & div1_type="act" & div1_n="1";
to look for all occurrences of the word "coeur" uttered by the character 
Harpagon in Act One.
Is this sort of combination possible, or am I asking too much? Thanks as 
ever for your answers.
Best,
Graham.
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list