[CWB] Displaying of multiple P attributes
Hardie, Andrew
a.hardie at lancaster.ac.uk
Fri Dec 11 13:06:00 CET 2020
3.3 is the version in trunk. Still has some known bugs but it’s rather more stable than it was back in March (the Lancaster server has been running it mostly happily since then).
>> Is it possible to make glosses multiline.
Yes in 3.3. but you’d need to write the code for it to reformat the embedded data, which would be complex. In 3.2, no, except with a LOT of hacking about.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of mansur
Sent: 10 December 2020 17:13
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Displaying of multiple P attributes
Hi, Andrew!
Thank you for the advice. I will try it tomorrow, which repository/directory should I use to get version 3.3? Now I am using 3.2-latest.
Another question arose. Is it possible to make glosses multiline. Inserting tag <br> doesn't work there. My idea was to put there several attributes and divide them into lines.
With best wishes,
Mansur
Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> schrieb am Do., 10. Dez. 2020, 19:00:
Hi Mansur,
CQPweb v3.3 can embed arbitrary p-attribute data into <span> elements in the concordance HTML. Youi can then use an extra JavaScript file to render them in the interface however you like.
The control for this is under “Manage visualisation”, and looks like this:
[cid:image001.png at 01D6CF15.F85D3850]
In version 3.2 things are much more limited. You only really have access to the word and primary annotation, which is what shows up in the tooltip.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of mansur
Sent: 10 December 2020 09:23
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: [CWB] Displaying of multiple P attributes
Hi!
Our corpora have many layers of word level annotation (P): wordforms in several variants, lemmas in 2 variants, pos, additional morph-l tags and some others...
What is the best way of displaying them all in found sentences? I could only find a way of displaying "word_POS word2_POS2..." in tooltips. Using tooltips looks like a good choice, but any other way is also acceptable. But how to display all those P attributes? And I suppose it is better to display such a big amount of P-attributes in vertical format, not? Any ideas, recommendations, please?
With best wishes,
Mansur
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C0d2a414c2df24dda3e2908d89d2ee651%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637432172057294278%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=c1p2W8EqKuAE2Z5aFZl4eZbOmX%2BWFDpY7tIwClSVA2U%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20201211/ffeaadcd/attachment.html>
More information about the CWB
mailing list