[CWB] Strange problem with a query

Josep M. Fontana josepm.fontana at upf.edu
Tue Jul 24 14:40:02 CEST 2012


I forgot to say that before trying this, I had tried:

[(pos!="N.*")&(pos!="PR.*")&(pos!="TO0")]

and this didn't work (or so I thought) because I was getting strings 
where the last adjective was followed by a noun.
I must have screwed up with something because now I just tried that 
again and I get the desired results.

JM

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



More information about the CWB mailing list