[CWB] Displaying of multiple P attributes

Hardie, Andrew a.hardie at lancaster.ac.uk
Thu Dec 10 18:00:29 CET 2020


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 <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>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20201210/3dc1112d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 44641 bytes
Desc: image001.png
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20201210/3dc1112d/attachment-0001.png>


More information about the CWB mailing list