CWB
|
The Component object. More...
#include <attributes.h>
The Component object.
A "component" is one of the data-chunks on disk that make up a CWB corpus. Each corpus attribute (of whatever kind) consists of an array (vector) of components, along with some other fields dependent on what type of attribute it is.
union _Attribute* attribute |
the attribute this component belongs to
Referenced by comp_drop_component(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), declare_component(), and describe_component().
the corpus this component belongs to
Referenced by comp_drop_component(), creat_rev_corpus(), creat_rev_corpus_idx(), and declare_component().
the actual contents of this component
Referenced by cl_alg2cpos(), cl_cpos2alg(), cl_cpos2alg2cpos_oldstyle(), cl_cpos2id(), cl_cpos2struc2cpos(), cl_cpos2struc_oldstyle(), cl_id2cpos_oldstyle(), cl_id2freq(), cl_id2str(), cl_id2strlen(), cl_new_stream(), cl_regex2id(), cl_sort2id(), cl_str2id(), cl_struc2cpos(), cl_struc2str(), comp_component_state(), comp_drop_component(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), create_component(), declare_component(), load_component(), and validate_revcorp().
the type of this component
Referenced by comp_component_state(), comp_drop_component(), creat_freqs(), declare_component(), and describe_component().
char* path |
the full filename of this component
Referenced by comp_component_state(), comp_drop_component(), component_full_name(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), create_component(), declare_component(), describe_component(), and load_component().
int size |
a copy of the number of items in the structure
Referenced by cl_alg2cpos(), cl_cpos2alg(), cl_cpos2alg2cpos_oldstyle(), cl_cpos2struc2cpos(), cl_cpos2struc_oldstyle(), cl_id2str(), cl_id2strlen(), cl_idlist2cpos_oldstyle(), cl_max_alg(), cl_max_cpos(), cl_max_id(), cl_regex2id(), cl_str2id(), cl_struc2cpos(), cl_struc2str(), creat_freqs(), creat_rev_corpus_idx(), creat_sort_lexicon(), get_nr_of_strucs(), load_component(), and validate_revcorp().