[CWB] Annotation of features/feature sets for structures in CQPweb

Hannah Kermes h.kermes at mx.uni-saarland.de
Tue Dec 11 00:02:55 CET 2012


Hi Andrew,

thanks a lot

Best
Hannah
Am 10.12.2012 23:55, schrieb Hardie, Andrew:
> Ah sorry, I misread the question - but the answer is simple, you can just enter the command into the appropriate box in the CQPweb indexing form - that is enter
>
> div:0+title+type
>
> instead of just "div" (ignore the error message that pops up)
>
> best
>
> Andrew.
>
> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Hannah Kermes
> Sent: 10 December 2012 22:07
> To: Open source development of the Corpus WorkBench
> Subject: Re: [CWB] Annotation of features/feature sets for structures in CQPweb
>
> Hi Andrew,
>
> first thanks for the fast answer.
> Maybe I wasn't specific enough. I know how to do that on the command line, but is it possible to do that in the CQPweb formula for installing corpora? And were would I specify the features and how?
>
> Thanks again
> Hannah
> Am 10.12.2012 22:42, schrieb Hardie, Andrew:
>> Hi Hannah,
>>
>> Exactly the format you specify is indeed possible, though it doesn't
>> encode "feature sets" in the same sense that you can have on
>> p-attributes. Rather,
>>
>> -S div:0+title+type
>>
>> assumes that there exists in the input elements like this:
>>
>> <div title="XXX" type="YYY">
>> ...
>> </div>
>>
>> And in indexing these are translated to multiple single-value s-attributes, namely equivalent to what you'd get from the following input:
>>
>> <div>
>> <div_title XXX>
>> <div_type YYY>
>> ...
>> </div_type>
>> </div_title>
>> </div>
>>
>> Hope that helps!
>>
>> best
>>
>> Andrew.
>>
>>
>> -----Original Message-----
>> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it]
>> On Behalf Of Hannah Kermes
>> Sent: 10 December 2012 13:52
>> To: Open source development of the Corpus WorkBench
>> Subject: [CWB] Annotation of features/feature sets for structures in
>> CQPweb
>>
>> Hello,
>>
>> is it possible to encode features/feature sets for structures in
>> CQPweb
>> - I hope I didn't miss it in the documentation?
>>
>> The command-line code would be something like:
>>
>> -S div:0+title+type
>>
>> Thanks in advance
>> Hannah
>>
>> --
>> Dr. Hannah Kermes
>> Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6)
>> Universität des Saarlandes Campus, Building A2.2, Room 1.07
>> D-66123 Saarbrücken
>> phone: +49-(0)681-302-70077
>>
>> _______________________________________________
>> 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
>>
>>
> --
> Dr. Hannah Kermes
> Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6) Universität des Saarlandes Campus, Building A2.2, Room 1.07
> D-66123 Saarbrücken
> phone: +49-(0)681-302-70077
>
> _______________________________________________
> 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
>
>

-- 
Dr. Hannah Kermes
Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6)
Universität des Saarlandes
Campus, Building A2.2, Room 1.07
D-66123 Saarbrücken
phone: +49-(0)681-302-70077



More information about the CWB mailing list