CWB
|
#define ANY_ID -2 |
#define SEPARATOR "#---------------------------------------------------------------------\n" |
#define SEPARATOR2 "#=====================================================================\n" |
typedef struct _grouptable Group |
typedef struct _id_cnt_mapping ID_Count_Mapping |
Group* compute_grouping | ( | CorpusList * | cl, |
FieldType | source_field, | ||
int | source_offset, | ||
char * | source_attr_name, | ||
FieldType | target_field, | ||
int | target_offset, | ||
char * | target_attr_name, | ||
int | cutoff_freq | ||
) |
References ATT_POS, ATT_STRUC, cl_malloc(), cl_struc2str(), cl_struc_values(), ComputeGroupExternally(), ComputeGroupInternally(), cl::corpus, _grouptable::count_cells, cqpmessage(), _grouptable::cutoff_frequency, Error, find_attribute, insecure, KeywordField, cl::keywords, MatchEndField, MatchField, _grouptable::my_corpus, cl::name, NoField, _grouptable::nr_cells, cl::range, cl::size, _grouptable::source_attribute, _grouptable::source_base, _grouptable::source_field, _grouptable::source_is_struc, _grouptable::source_offset, _grouptable::target_attribute, _grouptable::target_base, _grouptable::target_field, _grouptable::target_is_struc, _grouptable::target_offset, TargetField, cl::targets, UseExternalGrouping, and Warning.
Referenced by do_cqi_cqp_fdist_1(), do_cqi_cqp_fdist_2(), do_group(), and do_group2().
void free_group | ( | Group ** | group | ) |
References cl_free.
Referenced by ComputeGroupInternally(), do_cqi_cqp_fdist_1(), do_cqi_cqp_fdist_2(), do_group(), and do_group2().
char* Group_id2str | ( | Group * | group, |
int | i, | ||
int | target | ||
) |
References ANY_ID, cl_id2str(), _grouptable::source_attribute, _grouptable::source_base, _grouptable::source_is_struc, _grouptable::target_attribute, _grouptable::target_base, and _grouptable::target_is_struc.
Referenced by ascii_print_group(), html_print_group(), latex_print_group(), and sgml_print_group().
References ascii_print_group(), TCorpus::charset, close_stream(), cl::corpus, cqpmessage(), Error, GlobalPrintMode, html_print_group(), latex_print_group(), _grouptable::my_corpus, open_stream(), PrintASCII, PrintHTML, PrintLATEX, PrintSGML, sgml_print_group(), and Redir::stream.
Referenced by do_group(), and do_group2().