CWB
Data Fields

_single_mapping Struct Reference

The SingleMapping object. More...

#include <class-mapping.h>

Data Fields


Detailed Description

The SingleMapping object.

This object represents a simple many-to-one mapping between one "class" and a number of different tokens (represented by integer ID codes).

The tokens are values that occur on a particular attribute in a particular corpus. (Note: positional attributes, not other types!) [?? -- is this correct? -- AH]


Field Documentation

char* class_name

this object's class name

Referenced by find_mapping(), print_mapping(), and read_mapping().

int nr_tokens

the number of tokens which this object owns

Referenced by map_class_to_tokens(), number_of_tokens(), print_mapping(), and read_mapping().

int* tokens

the tokens themselves

Referenced by map_class_to_tokens(), print_mapping(), and read_mapping().


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