groups.c File Reference

#include "../cl/globals.h"
#include <math.h>
#include "../cl/attributes.h"
#include "../cl/cdaccess.h"
#include "../cl/macros.h"
#include "../cl/binsert.h"
#include "options.h"
#include "html-print.h"
#include "ascii-print.h"
#include "sgml-print.h"
#include "latex-print.h"
#include "corpmanag.h"
#include "groups.h"
#include "output.h"

Defines

Functions


Define Documentation

#define ANY_ID   -2

Referenced by get_group_id(), and Group_id2str().

#define GROUP_DEBUG   0

Referenced by ComputeGroupExternally().

#define GROUP_REALLOC   16

Referenced by ComputeGroupExternally().

#define SEPARATOR   "#---------------------------------------------------------------------\n"

Referenced by ascii_print_group().

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

Function Documentation

static int compare_by_freq ( const void *  p1,
const void *  p2 
) [static]

Referenced by sum_freqs().

static int compare_st_cells ( const void *  p1,
const void *  p2 
) [static]

Referenced by ComputeGroupInternally().

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 
)
Group* ComputeGroupExternally ( Group group  ) 
Group* ComputeGroupInternally ( Group group  ) 
void free_group ( Group **  group  ) 
int get_group_id ( Group group,
int  i,
int  target 
)
char* Group_id2str ( Group group,
int  id,
int  target 
)
void print_group ( Group group,
int  expand,
struct Redir rd 
)
int sum_freqs ( ID_Count_Mapping buffer,
int  bufsize,
int  cutoff_f 
)

Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1