[CWB] [cwb:feature-requests] #32 a slow CQP query...

Andrew Hardie andrewhardie at users.sourceforge.net
Sat Mar 27 00:41:39 CET 2021


Also-relevant-note: there is an experimental bit of code in the CQPweb CEQL extension (PHP version) which rewrites a standard query parse result to a TAB query if it only specifies a sequence of tokens. This will help many immediate use cases. (ceqlparser.php, search for the 'optimise_standard_to_tab' parameter setting; currently [commit 1618] not enabled, function process_simple_query_new() would need to set that parameter to ON for that to happen)


---

** [feature-requests:#32] a slow CQP query...**

**Status:** open
**Group:** TODO-4.0
**Labels:** CQP 
**Created:** Tue Nov 17, 2009 12:39 AM UTC by Andrew Hardie
**Last Updated:** Fri Mar 26, 2021 02:17 PM UTC
**Owner:** nobody


The following query seemed to run rather slowly \(on the BNC: someone wanted instances of "done" used for past tense.\)

\[hw\!="be" & hw\!="have"\] \[pos="PNP"\] \[word="done"\]

My guess is that the slowness is because of the gargantuan number of matches for the first element in the string. \(Stefan might correct me on this\!\) Which leads me to wonder, is there any way of optimising this kind of thing and speeding it up? OR does this happen already?



---

Sent from sourceforge.net because cwb at sslmit.unibo.it is subscribed to https://sourceforge.net/p/cwb/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/cwb/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20210326/403ae857/attachment.html>


More information about the CWB mailing list