[CWB] [ cwb-Bugs-2981889 ] List attributes in CL library API

SourceForge.net noreply at sourceforge.net
Sun Apr 4 21:36:48 CEST 2010


Bugs item #2981889, was opened at 2010-04-04 21:36
Message generated for change (Tracker Item Submitted) made by schtepf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=2981889&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: CL low-level library
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Stefan Evert (schtepf)
Assigned to: Stefan Evert (schtepf)
Summary: List attributes in CL library API

Initial Comment:
The public API of the corpus library (CL) should offer functions to list all attributes (of a specific type) defined for a corpus.  This should be easy to implement, as simple as a walk-through of the internal data structures.  For convenience, it could directly return a cl_string_list instead of a (char **).

Ideally, it should also be possible to list all CWB corpora found in the current registry directory (or directories).  This is currently only implemented in CQP and requires reading directory contents and checking for plausible registry entries, so it's not as straightforward to make available at the CL level.

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

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


More information about the CWB mailing list