[CWB] Multiple constraints on structural attributes

Ruprecht von Waldenfels ruprecht.waldenfels at gmx.net
Mon Mar 2 10:37:51 CET 2015


Thank you Susanne and Serge,
yes, this works and was the solution I was looking for!
Best,
Ruprecht
Am 02.03.2015 um 10:15 schrieb Susanne Flach:
> Dear Ruprecht,
>
> Did you try:
>
> "this" ::match.chapter_author=".*Kerski" & match.chapter_year="1985"
>
> i.e. use :: only once to set off structural attribute conditions.
>
> Best
> Susanne
>
> Am 02.03.2015 um 10:07 schrieb Ruprecht von Waldenfels <ruprecht.waldenfels at gmx.net>:
>
>> Thanks - but this wouldn't be what I want, because the query is confined to a single token... I can see this can be made to work on sequences of tokens, but it would be a hack. Is there no other way to do this?
>> Best,
>> Ruprecht
>>
>> Am 02.03.2015 um 10:05 schrieb Serge Heiden:
>>> Did you try : [word="this" & _.chapter_author=".*Kerski" & _.chapter_year="1985" ]
>>> Best,
>>> Serge
>>>
>>> Le 02/03/2015 09:55, Ruprecht von Waldenfels a écrit :
>>>> Dear All,
>>>> this seems like a trivial question, but I couldn't find it in the manual: how do you combine constraints like
>>>>
>>>> "this" ::match.chapter_author=".*Kerski"
>>>> and
>>>> "this" ::match.chapter_year="1985"
>>>> ?
>>>>
>>>> I tried something like
>>>>
>>>> "this" ::match.chapter_author=".*Kerski" & ::match.chapter_year="1985"
>>>>
>>>> but of course this didn't work...
>>>>
>>>> Thanks and best!
>>>> Ruprecht
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> CWB mailing list
>>>> CWB at sslmit.unibo.it
>>>> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>>>
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list