[CWB] Regex/backreferencing

Stefan Evert stefanML at collocations.de
Thu Mar 16 21:22:16 CET 2017


> On 13 Mar 2017, at 10:10, Susanne Flach <susanne.flach at fu-berlin.de> wrote:
> 
> Plus, is there a way to ignore case in labels?

If you install an up-to-date  (as in "this evening") version of CWB from the SVN repository, you can use the built-in function normalize() for this purpose:

	a:[] b:[] :: normalize(a.word, "c") = normalize(b.word, "c");

Beware: the function is experimental and hasn't been tested thoroughly yet.

Moreover, the CQP tutorial in the SVN repository now has complete documentation for all built-in functions in Sec. 8.3.

Best,
Stefan



More information about the CWB mailing list