[CWB] Strange problem with a query

Stefan Evert stefanML at collocations.de
Tue Jul 24 14:14:07 CEST 2012


> When I enter the query I get the following error:
> 
> "Warning:
>    ``Keep Ranges'' only allowed when
> querying subcorpora (ignored)

That's because you added an exclamation mark "!", which executes a subquery as a filter in CQP syntax (internally referred to as the "keep ranges" flag).

> >[pos="VV.*"][pos="DT."]? [pos="AV0"]? [pos="AJ.*"]* [pos="N.*"] [pos="AJ.*"][(pos="N.*")|(pos="PR.*")|(pos="TO0")]! within s;

Why did you put the exclamation mark if you're not running a subquery?

Best
Stefan



More information about the CWB mailing list