[CWB] Strange problem with a query
Josep M. Fontana
josepm.fontana at upf.edu
Tue Jul 24 15:00:19 CEST 2012
OK. Yes. Problem solved. I had constructed my first query by cutting and
pasting from another previous query. Instead of having
[(pos!="N.*")|(pos!="PR.*")|(pos!="TO0")] as I thought I had, I had
[(pos="AJ.*")|(pos="PR.*")|(pos="TO0")] instead. When the query was
completed I got lots of results with a noun following the adjective.
Instead of looking at the command line, though, I kept on looking at the
queries typed on my editor window. To make things worse I was looking at
the query that was well constructed originally and not the longer one
which was actually pasted on the terminal command line. This was stupid
of me. I think I should take breaks more often.
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