[CWB] Specific regular expression

Teresa Molés Cases teresamoles at gmail.com
Thu Jun 12 10:36:02 CEST 2014


Thanks again. I have another similar question related to the regular expression  [lem =  “(davon|weg)?brausen”%c]

If I want to search for the lemma “brausen” combined with any prefixed, not only “davon” or “weg”. Which would be the regular expression?

Thanks a lot for your help!

Teresa


El 10/06/2014, a las 10:59, Hardie, Andrew <a.hardie at lancaster.ac.uk> escribió:

> 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
>  
> 
> 
>  
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb

Teresa Molés Cases
Traductora EN/DE/FR > ES/CAT
teresamoles at gmail.com
667848390




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


More information about the CWB mailing list