<br><div class="gmail_extra">I see your points. My current problem was I wanted to search for sequences of finite verbs +  gerund, but make sure that estar was not included as finite verb form (by far the most frequent in my corpus).</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">But this was just an example, it was not derived from real needs. So basically I&#39;m good. The customization options you gave are good to know and that&#39;s enough for me right now.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Marti</div><div class="gmail_extra"><br></div><div class="gmail_extra">pd I guess it&#39;s unfair to think as a CQP speaker and act as a CQPWeb natural user ;-)<br>

<br><div class="gmail_quote">On Wed, Oct 31, 2012 at 11:09 AM,  <span dir="ltr">&lt;<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send CWB mailing list submissions to<br>
        <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CWB digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: CQPWeb -- Negation operator in simple query language<br>
      (Mart? Quixal)<br>
   2. Re: CQPWeb -- Query restriction using file-level free text<br>
      metadata (Mart? Quixal)<br>
   3. Re: CQPWeb -- Negation operator in simple query language<br>
      (Stefan Evert)<br>
   4. Re: CQPWeb -- Negation operator in simple query language<br>
      (Hardie, Andrew)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 31 Oct 2012 08:56:42 -0500<br>
From: Mart? Quixal &lt;<a href="mailto:marti.quixal@gmail.com">marti.quixal@gmail.com</a>&gt;<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
Subject: Re: [CWB] CQPWeb -- Negation operator in simple query<br>
        language<br>
Message-ID:<br>
        &lt;<a href="mailto:CAMtTwm9uEneoZpOGhs7P9%2BWCOtKD6SdDG5xV3knkxoVK0JwHLA@mail.gmail.com">CAMtTwm9uEneoZpOGhs7P9+WCOtKD6SdDG5xV3knkxoVK0JwHLA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Then, may I a suggest to include this negation operator in a future<br>
version, if it&#39;s not too complex/much work?<br>
<br>
Thanks for all the valuable work!<br>
Marti<br>
<br>
<br>
 Message: 1<br>
&gt; Date: Wed, 31 Oct 2012 03:07:11 +0000<br>
&gt; From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;<br>
&gt; To: Open source development of the Corpus WorkBench<br>
&gt;         &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
&gt; Subject: Re: [CWB] CQPWeb -- Negation operator in simple query<br>
&gt;         language<br>
&gt; Message-ID:<br>
&gt;         &lt;28078EC3FBF1B940A3EF3D0D19BE351D0EB8AD@EX-0-MB1.lancs.local&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; No, there?s not.<br>
&gt;<br>
&gt; best<br>
&gt;<br>
&gt; Andrew.<br>
&gt;<br>
&gt; From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On<br>
&gt; Behalf Of Mart? Quixal<br>
&gt; Sent: 30 October 2012 22:59<br>
&gt; To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt; Subject: [CWB] CQPWeb -- Negation operator in simple query language<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I can seem to find the negation operator for the simple query language.<br>
&gt; Like != in CQP syntax. Is there one?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; --<br>
&gt; Mart? Quixal<br>
&gt; Computational Linguist &amp; Educational Technologist<br>
&gt; <a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/fb57a413/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/fb57a413/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 31 Oct 2012 09:02:50 -0500<br>
From: Mart? Quixal &lt;<a href="mailto:marti.quixal@gmail.com">marti.quixal@gmail.com</a>&gt;<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
Subject: Re: [CWB] CQPWeb -- Query restriction using file-level free<br>
        text    metadata<br>
Message-ID:<br>
        &lt;<a href="mailto:CAMtTwm-9Bzz387LXg-7j9OX56v%2B1Dz05gA2-Pk%2B4OxHY9FGsLw@mail.gmail.com">CAMtTwm-9Bzz387LXg-7j9OX56v+1Dz05gA2-Pk+4OxHY9FGsLw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Andrew, I agree with you except that I could imagine a box or set of<br>
boxes/drop-down menus (maybe one that you could show/hide) with a behaviour<br>
similar to the current option for building subcorpora. Though maybe this is<br>
something more for a customisation of CQPWeb than for the standard<br>
distribution.<br>
<br>
Please don&#39;t take this as I am willing to suggest any changes. It&#39;s already<br>
very useful and easy how it currently is (for a typical user).<br>
<br>
Thanks a lot and congratulations for this awesome work!<br>
<br>
Best regards,<br>
Marti<br>
<br>
<br>
On Wed, Oct 31, 2012 at 6:00 AM, &lt;<a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&gt; wrote:<br>
<br>
&gt; Send CWB mailing list submissions to<br>
&gt;         <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;         <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;         <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;         <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of CWB digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;    1. Re: CQPWeb -- Negation operator in simple query language<br>
&gt;       (Hardie, Andrew)<br>
&gt;    2. Re: CQPWeb -- Query restriction using file-level free     text<br>
&gt;       metadata (Hardie, Andrew)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Wed, 31 Oct 2012 03:07:11 +0000<br>
&gt; From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;<br>
&gt; To: Open source development of the Corpus WorkBench<br>
&gt;         &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
&gt; Subject: Re: [CWB] CQPWeb -- Negation operator in simple query<br>
&gt;         language<br>
&gt; Message-ID:<br>
&gt;         &lt;28078EC3FBF1B940A3EF3D0D19BE351D0EB8AD@EX-0-MB1.lancs.local&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; No, there?s not.<br>
&gt;<br>
&gt; best<br>
&gt;<br>
&gt; Andrew.<br>
&gt;<br>
&gt; From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On<br>
&gt; Behalf Of Mart? Quixal<br>
&gt; Sent: 30 October 2012 22:59<br>
&gt; To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt; Subject: [CWB] CQPWeb -- Negation operator in simple query language<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I can seem to find the negation operator for the simple query language.<br>
&gt; Like != in CQP syntax. Is there one?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; --<br>
&gt; Mart? Quixal<br>
&gt; Computational Linguist &amp; Educational Technologist<br>
&gt; <a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<br>
&gt; <a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/9e4bb2b2/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/9e4bb2b2/attachment-0001.html</a><br>


&gt; &gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Wed, 31 Oct 2012 03:13:23 +0000<br>
&gt; From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;<br>
&gt; To: Open source development of the Corpus WorkBench<br>
&gt;         &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
&gt; Subject: Re: [CWB] CQPWeb -- Query restriction using file-level free<br>
&gt;         text    metadata<br>
&gt; Message-ID:<br>
&gt;         &lt;28078EC3FBF1B940A3EF3D0D19BE351D0EB8C2@EX-0-MB1.lancs.local&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; The Restricted Query interface works solely off Classification metadata.<br>
&gt; The ?right way? to search free-text metadata is via the subcorpus-create<br>
&gt; function, as you suspect.<br>
&gt;<br>
&gt; The difference is that for Classifications, zones of the corpus are<br>
&gt; predefined and can therefore be used to set up selectable restrictions.<br>
&gt; With free-text metadata there is no knowing what someone is going to search<br>
&gt; for ? so they have to actually search for what they want i.e. via the<br>
&gt; subcorpus interface and then once they?ve found a selection of texts, the<br>
&gt; subcorpus becomes available for restricting queries.<br>
&gt;<br>
&gt; I won?t argue that this will never be clumsy/confusing, however, I submit<br>
&gt; that this organisation is less clumsy and confusing than it would be to<br>
&gt; cram both the classification-based restrictions and the (multiple) search<br>
&gt; forms for free-text metadata all into one web form!<br>
&gt;<br>
&gt; best<br>
&gt;<br>
&gt; Andrew.<br>
&gt;<br>
&gt; From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On<br>
&gt; Behalf Of Mart? Quixal<br>
&gt; Sent: 30 October 2012 23:00<br>
&gt; To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt; Subject: [CWB] CQPWeb -- Query restriction using file-level free text<br>
&gt; metadata<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a corpus for which I have file level metadata in CQP web. I<br>
&gt; currently have a couple of classification metadata and a couple of free<br>
&gt; text metadata.<br>
&gt;<br>
&gt; When I go to the Restricted query interface I get checkboxes for Gender<br>
&gt; and Location (my classification metadata) but not for the others (Interview<br>
&gt; ID, Age, Year). Is there any possibility to restrict queries on the basis<br>
&gt; of those free text metadata on this restricted query interface. I have seen<br>
&gt; I can create subcorpora, but that seems can be a bit clumsy/confusing for<br>
&gt; the users (foreign language teachers) I have in mind.<br>
&gt;<br>
&gt; By the way in the &quot;Manage metadata&quot; interface I have seen I can include<br>
&gt; corpus-level metadata. Are these metadata different from the metadata added<br>
&gt; at the text-level (that is, using the text id)?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; --<br>
&gt; Mart? Quixal<br>
&gt; Computational Linguist &amp; Educational Technologist<br>
&gt; <a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<br>
&gt; <a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/de73446e/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/de73446e/attachment-0001.html</a><br>


&gt; &gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CWB mailing list<br>
&gt; <a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
&gt; <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
&gt;<br>
&gt;<br>
&gt; End of CWB Digest, Vol 70, Issue 43<br>
&gt; ***********************************<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Mart? Quixal<br>
Computational Linguist &amp; Educational Technologist<br>
<a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/a557afe5/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121031/a557afe5/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 31 Oct 2012 16:12:56 +0100<br>
From: Stefan Evert &lt;<a href="mailto:stefanML@collocations.de">stefanML@collocations.de</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPWeb -- Negation operator in simple query<br>
        language<br>
Message-ID: &lt;<a href="mailto:AE8E56D4-DD19-4469-A06E-2ED0E5FC5D75@collocations.de">AE8E56D4-DD19-4469-A06E-2ED0E5FC5D75@collocations.de</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
&gt; Then, may I a suggest to include this negation operator in a future version, if it&#39;s not too complex/much work?<br>
<br>
Well, that&#39;s the &quot;simple&quot; part of the simple query language.  If CEQL could do everything, nobody would learn CQP syntax any more. ;-)<br>
<br>
Seriously, I have given some thought to this, of course, but I found that simple negation is rarely needed or very useful unless it&#39;s part of a more complex Boolean condition.  Adding such flexible negation patterns to CEQL creates too much complexity for a simple query language -- in my opinion, the more verbose CQP syntax is much better suited to such queries.  And then there&#39;s the issue of backward compatibility, as CEQL is by now in use by a fairly large number of BNCweb and CQPweb servers.<br>


<br>
What&#39;s your concrete use case for the negation?<br>
<br>
In any case, CEQL is designed to be extensible, so you can add your own rules (written as Perl subroutines) in order to implement negation (and defined your own syntax that works for your users).  I&#39;m sure that Andrew will allow custom CEQL extension in the CQPweb admin interface sooner or later ...<br>


<br>
Best,<br>
Stefan<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 31 Oct 2012 16:09:45 +0000<br>
From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPWeb -- Negation operator in simple query<br>
        language<br>
Message-ID:<br>
        &lt;28078EC3FBF1B940A3EF3D0D19BE351D0EBFD5@EX-0-MB1.lancs.local&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
&gt;&gt; I&#39;m sure that Andrew will allow custom CEQL extension in the CQPweb admin interface sooner or later ...<br>
<br>
I fully intend to get round to this eventually, perhaps after I finally get the long-promised ground-up rewrite in INTERCAL out of the way.<br>
<br>
Andrew.<br>
<br>
(ps I concur, my take is: by and large, we should anticipate that most users who are capable of getting their head round Boolean conditions will be &quot;advanced&quot; enough to benefit from using full CQP-syntax....)<br>


<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Stefan Evert<br>
Sent: 31 October 2012 15:13<br>
To: Open source development of the Corpus WorkBench<br>
Subject: Re: [CWB] CQPWeb -- Negation operator in simple query language<br>
<br>
<br>
&gt; Then, may I a suggest to include this negation operator in a future version, if it&#39;s not too complex/much work?<br>
<br>
Well, that&#39;s the &quot;simple&quot; part of the simple query language.  If CEQL could do everything, nobody would learn CQP syntax any more. ;-)<br>
<br>
Seriously, I have given some thought to this, of course, but I found that simple negation is rarely needed or very useful unless it&#39;s part of a more complex Boolean condition.  Adding such flexible negation patterns to CEQL creates too much complexity for a simple query language -- in my opinion, the more verbose CQP syntax is much better suited to such queries.  And then there&#39;s the issue of backward compatibility, as CEQL is by now in use by a fairly large number of BNCweb and CQPweb servers.<br>


<br>
What&#39;s your concrete use case for the negation?<br>
<br>
In any case, CEQL is designed to be extensible, so you can add your own rules (written as Perl subroutines) in order to implement negation (and defined your own syntax that works for your users).  I&#39;m sure that Andrew will allow custom CEQL extension in the CQPweb admin interface sooner or later ...<br>


<br>
Best,<br>
Stefan<br>
<br>
<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
End of CWB Digest, Vol 70, Issue 44<br>
***********************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Martí Quixal<div>Computational Linguist &amp; Educational Technologist</div><div><a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a></div>

<br>
</div>