<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Dear Stefan,</font></p>
<p><font size="+1">thank you for the quick reply! This new feature
will be great.</font></p>
<p><font size="+1">In the meantime, the query you suggest with the
(?longest) switch does exactly what I need!</font><br>
</p>
<pre wrap="">(?longest) [pos="J.+"]+[pos="N.+"]+</pre>
Cheers,<br>
<br>
jmm<br>
<br>
<div class="moz-cite-prefix">On 10.08.17 14:36, Stefan Evert wrote:<br>
</div>
<blockquote type="cite"
cite="mid:B3A66D4D-9175-4116-A51D-7000ADD0622C@collocations.de">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">On 10 Aug 2017, at 12:03, José Manuel Martínez Martínez <a class="moz-txt-link-rfc2396E" href="mailto:chozelinek@gmail.com"><chozelinek@gmail.com></a> wrote:
I've been designing some queries in CQP, and I've realized that CQPweb uses the "standard" matching strategy (in the default standard mode, CQP uses an ``early match'' strategy: optional elements at the start of the query are included, while those at the end are not).
I need the longest behaviour though. Is it possible to set the matching strategy in CQPweb?
</pre>
</blockquote>
<pre wrap="">
Not yet, but as it happens, Andrew and I have recently been thinking about this issue – when the next stable version of CQPweb is released (and you install an up-to-date CQP backend from the SVN repository), you will be able to set the matching strategy with a drop-down menu.
In CQP queries, the syntax will be
        (?longest) [pos="J.+"]+[pos="N.+"]+
Best,
Stefan
_______________________________________________
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>