[CWB] Empty XML tags not showing in CQP

Javier Pueyo javier.pueyo at gmail.com
Thu Jun 14 22:55:45 CEST 2018


Thank you Stefan for your clarification. That will work for me... Thank you
Andrew, It is indeed a very good idea.

 Javier

2018-06-14 9:53 GMT-04:00 Stefan Evert <stefanML at collocations.de>:

>
>
> > On 14 Jun 2018, at 14:44, Javier Pueyo <javier.pueyo at gmail.com> wrote:
> >
> > I will do as you suggest, Just to be sure that I have understand the
> trick: I am supposed to enclose some material, probably the following word,
> between my "empty" tags, and then create a visualization only for the start
> tag, right?
>
> What Andrew suggested was to just insert start tags
>
>         <inf id="E">
>
> without any end tags and make sure you encode without recursion specifier,
> i.e. with
>
>         -S inf+id
>
> rather than "-S inf:0+id".  CWB will automatically close the XML element
> when it encounters the next start tag.  The resulting regions are
> completely meaningless, of course, but that's fine if you just visualise
> the start tags.
>
> This is actually a fairly good idea, as you can also use them in CQP
> queries (again without end tags):
>
>         … <inf_id="E"> […] …;
>
> Best,
> Stefan
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180614/9578242f/attachment.html>


More information about the CWB mailing list