CWB
Data Structures | Macros | Typedefs | Functions
groups.h File Reference
#include "../cl/attributes.h"
#include <stdio.h>
#include "corpmanag.h"
#include "output.h"

Data Structures

struct  _id_cnt_mapping
 
struct  _grouptable
 

Macros

#define SEPARATOR   "#---------------------------------------------------------------------\n"
 
#define SEPARATOR2   "#=====================================================================\n"
 
#define ANY_ID   -2
 

Typedefs

typedef struct _id_cnt_mapping ID_Count_Mapping
 
typedef struct _grouptable Group
 

Functions

Groupcompute_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, int is_grouped)
 
void free_group (Group **group)
 
void print_group (Group *group, int expand, struct Redir *rd)
 
char * Group_id2str (Group *group, int i, int target)
 

Macro Definition Documentation

#define ANY_ID   -2
#define SEPARATOR   "#---------------------------------------------------------------------\n"

Referenced by ascii_print_group().

#define SEPARATOR2   "#=====================================================================\n"

Typedef Documentation

typedef struct _grouptable Group

Function Documentation

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,
int  is_grouped 
)
void free_group ( Group **  group)
char* Group_id2str ( Group group,
int  i,
int  target 
)
void print_group ( Group group,
int  expand,
struct Redir rd 
)