[CWB] Specific regular expression

Hardie, Andrew a.hardie at lancaster.ac.uk
Tue Jun 10 10:59:13 CEST 2014


lem =  ["(davon|weg)?brausen"]

is incorrect syntax.

Try

 [lem =  "(davon|weg)?brausen"%c]

Also - just in case - double check you are not actually using curly quotes in the query!

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Teresa Molés Cases
Sent: 10 June 2014 09:55
To: CWB at sslmit.unibo.it
Subject: [CWB] Specific regular expression

Hi,

I am trying to do a specific query in CQP but I don't get any sucessful results. I have problems with German prefixed verbs. For instance, if I want to know which verbs do I find in the corpus with the verb steem 'brausen', combined with any prefix, how do I make this query?

I've tried the following: lem =  ["(davon|weg)?brausen"] but it doesn't work.

Thank you for your help,

Teresa Molés




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140610/e992a64d/attachment.html>


More information about the CWB mailing list