[CWB] cqpweb question

Graham Ranger -- UAPV graham.ranger at univ-avignon.fr
Tue Apr 7 08:22:10 CEST 2026


Hello to all,
This question concerns the cqp syntax available on the cqpweb interface.
I'm trying to look for constructions including cognate objects. This:

n1:[hw="laugh" & pos="VV."] []{1,3} n2:[hw="laugh" & pos="NN."]::n1.hw=n2.hw

will work to give me things like "He laughed a mirthless laugh", which 
is good.
What I'd really like, though, is to be able to define a variable for the 
first hw which coincides with the variable for the second hw, in order 
to get things like "Lucy smiled a small tight-fisted smile", "Jamie 
grins his tired grin", etc. I've tried with [] and n1 n2::n1=n2, and 
with regular expressions, working on word and  pos as well as hw and 
trying to match partial strings, but either I'm missing something or 
cqpweb does not allow this sort of query.
Any help would as always be very much appreciated!
Best wishes,
Graham.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20260407/e4eae056/attachment.html>


More information about the CWB mailing list