[CWB] cwb-python - corpus positionnal attributes
Serge Heiden
slh at ens-lyon.fr
Wed Mar 24 18:05:58 CET 2010
Yannick,
The CWB CQi interface gives you the list of positionnal attributes for
a corpus. See :
http://textometrie.sourceforge.net/doc/Java/org/textometrie/searchengine/cqp/CqiClient.html
Best,
Serge
le 22/03/2010 22:39 Selon Yannick Versley:
> I have modified the module so it uses only the "public" cl.h interface
> instead of grabbing stuff
> from the internal data structures. The sad thing is, before (i.e.,
> using the internal structures)
> I could make a list of all attributes, wrapped into appropriate S- or
> P-attribute objects as needed
> whereas the public API does not include any function to inquire the
> type/name of an attribute
> or get a list of attributes for a corpus. (Or maybe there is and I
> overlooked it because the Perl
> CWB::CL doesn't use it).
--
Dr. Serge Heiden, slh at ens-lyon.fr, http://textometrie.ens-lsh.fr
ENS-LSH/CNRS - ICAR UMR5191, Institut de Linguistique Française
15, parvis René Descartes 69342 Lyon BP7000 Cedex, tél. +33(0)622003883
More information about the CWB
mailing list