[CWB] Minor bug in CQPweb - "Match strategy" does not work with "CQP syntax"

Hoffmann, Sebastian, Univ.-Prof. Dr. hoffmann at uni-trier.de
Thu Aug 31 10:58:46 CEST 2023


Hi Andrew et al!
Peter (Uhrig) and I have discovered what looks like a JavaScript-related(?) bug in connection with the drop-down menu "Match strategy". This works fine in simple query mode, but the menu is greyed out as soon as we switch to "CQP syntax". Using Chrome on a Windows computer, there's a "fix": after a query is performed, the user can go back with the help of the "back" button of the browser - and then the menu appears as expected (and whatever is selected does influence how queries are executed). Using Safari or Chrome on a Mac, this does not work - the drop-down menu is never available.
Manually adding "(?longest)" to the query does work, too - but recreating such a query from the query history gets rid of "(?longest)" in the query text box, updates the "Match strategy" drop-down menu to "Longest-possible match" - but the menu is greyed out and the query is then executed without "(?longest)".
Best,
Sebastian

Prof. Dr. Sebastian Hoffmann
FB II Anglistik
Tel. +49 651 201-2287
E-Mail hoffmann at uni-trier.de

[image001.png]

Universität Trier | Universitätsring 15 | 54296 Trier | Germany
www.uni-trier.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20230831/af2bae02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6440 bytes
Desc: image001.png
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20230831/af2bae02/attachment.png>


More information about the CWB mailing list