[CWB] Is it possible set MatchingStrategy in CQPweb?

José Manuel Martínez Martínez chozelinek at gmail.com
Thu Aug 10 19:01:15 CEST 2017


Dear Stefan,

thank you for the quick reply! This new feature will be great.

In the meantime, the query you suggest with the (?longest) switch does 
exactly what I need!

(?longest) [pos="J.+"]+[pos="N.+"]+

Cheers,

jmm

On 10.08.17 14:36, Stefan Evert wrote:
>> On 10 Aug 2017, at 12:03, José Manuel Martínez Martínez <chozelinek at gmail.com> 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?
> 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
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170810/c6d49398/attachment.html>


More information about the CWB mailing list