CWB
Data Structures | Defines | Typedefs | Functions

context_descriptor.h File Reference

#include "attlist.h"

Data Structures

Defines

Typedefs

Functions


Define Documentation

#define ALIGN_CONTEXT   -4

Context width measured in terms of an a-attribute - that is, alignment blocks as the unit of context.

Referenced by compose_kwic_line(), print_option_value(), PrintContextDescriptor(), and verify_context_descriptor().

#define CHAR_CONTEXT   -1
#define STRUC_CONTEXT   -3
#define WORD_CONTEXT   -2

Typedef Documentation

ContextDescriptor object: a bundle of CQP options describing how a list of corpus positions is to be displayed: with left context, with right context, with what attributes, etc.

It is passed around between different print functions so that they know what to do!


Function Documentation

void FreeContextDescriptor ( ContextDescriptor **  cdp)

Referenced by initialize_cl().

int initialize_context_descriptor ( ContextDescriptor cd)
ContextDescriptor* NewContextDescriptor ( )
void PrintContextDescriptor ( ContextDescriptor cdp)
int update_context_descriptor ( Corpus corpus,
ContextDescriptor cd 
)
int verify_context_descriptor ( Corpus corpus,
ContextDescriptor cd,
int  remove_illegal_entries 
)