[CWB] Retrieve structural attribute annotation tag without relying on the context

Stephanie Evert stefanML at collocations.de
Wed Oct 16 14:11:28 CEST 2024


Not sure exactly what you want to achieve, but perhaps

	set PrintStructures instruction_name;
	cat;

or

	tabulate Last match instruction_name;

is what you've been looking for?

Best,
Stephanie

> On 15 Oct 2024, at 21:34, Hugo Sanjurjo González <hugo.sanjurjo at deusto.es> wrote:
> 
> Related to a previous issue. I'm wondering if there's a way to retrieve structural annotation tags without relying on the context 
> 
>  For example:
> 
> 
> <instruction name="1> This is an example of an instruction. </instruction><instruction name="1"> Another example. </instruction> 
> Running the command:
> 
> show +instruction; <>
> returns the opening and closing annotation tags if they are present in the context. I have some ideas on how to achieve this using the output, but I'd like to know if there is anything in CQP that I might have missed. 
> 
> Thank you very much for your help.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20241016/ff90648e/attachment.html>


More information about the CWB mailing list