[CWB] [ cwb-Feature Requests-2842658 ] CQPweb: s-element display

SourceForge.net noreply at sourceforge.net
Sat Aug 22 18:54:18 CEST 2009


Feature Requests item #2842658, was opened at 2009-08-22 16:54
Message generated for change (Tracker Item Submitted) made by andrewhardie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=2842658&group_id=131809

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CQPweb
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Andrew Hardie (andrewhardie)
Assigned to: Andrew Hardie (andrewhardie)
Summary: CQPweb: s-element display

Initial Comment:
Make s-elements (configurably) visualisable in the "concordance" and "context" displays.

For each registered s-element, there should be the following options configurable on a per-corpus basis:

1) Display in neither -- display in both -- display in Concordance only -- display in Context only
2) The text to be displayed. This is allowed to include (a subset of) HTML, e.g. "<a ...>". It is also allowed to include a code referring to that s-attribute's value (or the values of any adjacent s-attributes?)

Then, when the $cqp module is called to set up which elements are displayed, the elements in this configuration are passed to CQP as "display" commands, and the rendering function rewrites the returned lines using the template stored in the database for that s-element.

---
This feature is a natural accompaniment to "CQPweb: XML support", but could be implemented independently of it. It would allow, for instance, external links to synchronised sound files to be displayed in concordance results from spoken corpora.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=2842658&group_id=131809


More information about the CWB mailing list