CWB
Data Fields
_TabulationItem Struct Reference

TabulationItem object: contains the data structures needed by CQP's "tabulate" command. More...

#include <output.h>

Data Fields

char * attribute_name
 attribute (name) More...
 
Attributeattribute
 handle of said named attribute More...
 
int attribute_type
 ATT_NONE = cpos, ATT_POS, ATT_STRUC. More...
 
int flags
 normalization flags (c and d) More...
 
FieldType anchor1
 start of token sequence to be tabulated More...
 
int offset1
 first cpos offset (from the anchor: e.g. More...
 
FieldType anchor2
 end of token sequence (may be identical to start) More...
 
int offset2
 second cpos offset (from the anchor: e.g. More...
 
struct _TabulationItemnext
 next tabulation item More...
 

Detailed Description

TabulationItem object: contains the data structures needed by CQP's "tabulate" command.

Each TabulationItem defines a single column in the tabulation output. A since global linked-list of TabulationItems, whose head is stored as TabulationList, is used to hold the tabulation specification requested by the user.

Note that TabulationItem is typedefed as a pointer-to-structure.

See also
TabulationList

Field Documentation

FieldType anchor1

start of token sequence to be tabulated

Referenced by new_tabulation_item(), and print_tabulation().

FieldType anchor2

end of token sequence (may be identical to start)

Referenced by new_tabulation_item(), and print_tabulation().

Attribute* attribute

handle of said named attribute

Referenced by new_tabulation_item(), and print_tabulation().

char* attribute_name

attribute (name)

Referenced by free_tabulation_list(), new_tabulation_item(), and print_tabulation().

int attribute_type

ATT_NONE = cpos, ATT_POS, ATT_STRUC.

Referenced by new_tabulation_item(), and print_tabulation().

int flags

normalization flags (c and d)

Referenced by do_flagged_string(), do_XMLTag(), new_tabulation_item(), and print_tabulation().

struct _TabulationItem* next
int offset1

first cpos offset (from the anchor: e.g.

match[-1], etc.

Referenced by new_tabulation_item(), and print_tabulation().

int offset2

second cpos offset (from the anchor: e.g.

match[5], etc.

Referenced by new_tabulation_item(), and print_tabulation().


The documentation for this struct was generated from the following file: