<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
How embarrassing. You're quite right of course Andrew. That's what
comes of trying these things too early in the morning.<br>
Thanks again.<br>
Best,<br>
Graham.<br>
<br>
<div class="moz-cite-prefix">Le 26/11/2017 à 09:20, Hardie, Andrew a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:28078EC3FBF1B940A3EF3D0D19BE351DDEA59513@EX-0-MB1.lancs.local">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.errormessage, li.errormessage, div.errormessage
        {mso-style-name:errormessage;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">I
think the problem is that you did not switch the query mode
to CQP syntax.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Also,
note the positioning of the brackets in my version of the
first of your queries.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
[<a class="moz-txt-link-freetext" href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>] <b>On Behalf Of </b>Graham
Ranger<br>
<b>Sent:</b> 26 November 2017 08:15<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<b>Subject:</b> Re: [CWB] Dramatic texts in cqpweb<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Andrew,<br>
Thanks for getting back so quickly.<br>
Unfortunately, the queries throw up error messages.<br>
The query (the character's name changes, but that's all):<br>
<br>
<o:p></o:p></p>
<pre>n:[word="sort"] & [pos="NOM"] :: n.sp_who="SGANRARELLE";<o:p></o:p></pre>
<p class="MsoNormal">gives me:<br>
<br>
**Error:** bracketing is not balanced: too many opening
delimiters of type ''[...]'' - at this location: '' n: [
word="sort" ''**<==**'' '' - when parsing '' n:[word="sort"
'' as **wildcard_pattern**, **wordform_pattern**,
**word_or_lemma**, **word_or_lemma_constraint**,
**token_expression**, **phrase_element** - at this location:
'' n:[word="sort" ''**<==**'' & pos="NOM"] ::
n.sp_who="SGANARELLE"; '' - when parsing '' n:[word="sort"
& pos="NOM"] :: n.sp_who="SGANARELLE"; '' as
**phrase_query** - when parsing '' n:[word="sort" &
pos="NOM"] :: n.sp_who="SGANARELLE"; '' as **default**<br>
<br>
While the second query<br>
<br>
n:[word="coeur"] :: n.sp_who="SGANARELLE" &
n.div1_type="act" & n.div1_n="1";<br>
<br>
gives me:<o:p></o:p></p>
<p class="errormessage">**** CQP ERROR ****<br>
Regex Compile Error: Unmatched [ or [^<br>
CQP Error:<br>
Illegal regular expression: who="SGANARELLE""] [word=<br>
CQP Error:<br>
CQP Syntax Error: syntax error, unexpected STRING<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">for reasons I
cannot understand.<br>
Thanks for your help.<br>
Best wishes,<br>
Graham.<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 26/11/2017 à 03:45, Hardie, Andrew a
écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi Graham,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Re this: n:[word="sort"] & [pos="NOM"] :: n.sp_who="HARPAGON";<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Try<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>n:[word="sort" & pos="NOM"] :: n.sp_who="HARPAGON";<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>And re this, n:[word="coeur"] :: n.sp_who="HARPAGON" & div1_type="act" & div1_n="1";<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Try<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>n:[word="coeur"] :: n.sp_who="HARPAGON" & n.div1_type="act" & n.div1_n="1";<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>best<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Andrew.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: <a href="mailto:cwb-bounces@sslmit.unibo.it" moz-do-not-send="true">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it" moz-do-not-send="true">mailto:cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Graham Ranger<o:p></o:p></pre>
<pre>Sent: 25 November 2017 17:57<o:p></o:p></pre>
<pre>To: <a href="mailto:cwb@sslmit.unibo.it" moz-do-not-send="true">cwb@sslmit.unibo.it</a><o:p></o:p></pre>
<pre>Subject: Re: [CWB] Dramatic texts in cqpweb<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Hello to all,<o:p></o:p></pre>
<pre>Thanks to the list members, a beta version of a corpus of theatrical <o:p></o:p></pre>
<pre>texts is now up and running.<o:p></o:p></pre>
<pre>I am now exploring query possibilities.<o:p></o:p></pre>
<pre>In particular, Andrew suggested searching for, say, word "a" uttered by <o:p></o:p></pre>
<pre>speaker "b" with the following type of cqp query:<o:p></o:p></pre>
<pre>n:[word="a"] :: n.sp_who="b";<o:p></o:p></pre>
<pre>This works nicely.<o:p></o:p></pre>
<pre>I'm now wondering whether it is possible to 1) have labels that <o:p></o:p></pre>
<pre>associate multiple attributes and 2) have global constraints bearing on <o:p></o:p></pre>
<pre>more than one condition.<o:p></o:p></pre>
<pre>In other words, I'd like to make queries such as:<o:p></o:p></pre>
<pre>n:[word="sort"] & [pos="NOM"] :: n.sp_who="HARPAGON";<o:p></o:p></pre>
<pre>to look for all occurrences of the French noun "sort" uttered by the <o:p></o:p></pre>
<pre>character Harpagon<o:p></o:p></pre>
<pre>or:<o:p></o:p></pre>
<pre>n:[word="coeur"] :: n.sp_who="HARPAGON" & div1_type="act" & div1_n="1";<o:p></o:p></pre>
<pre>to look for all occurrences of the word "coeur" uttered by the character <o:p></o:p></pre>
<pre>Harpagon in Act One.<o:p></o:p></pre>
<pre>Is this sort of combination possible, or am I asking too much? Thanks as <o:p></o:p></pre>
<pre>ever for your answers.<o:p></o:p></pre>
<pre>Best,<o:p></o:p></pre>
<pre>Graham.<o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>CWB mailing list<o:p></o:p></pre>
<pre><a href="mailto:CWB@sslmit.unibo.it" moz-do-not-send="true">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
<pre><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" moz-do-not-send="true">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>CWB mailing list<o:p></o:p></pre>
<pre><a href="mailto:CWB@sslmit.unibo.it" moz-do-not-send="true">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
<pre><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" moz-do-not-send="true">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
</blockquote>
<br>
</body>
</html>