CWB
Data Fields

_mapping Struct Reference

The Mapping object. More...

#include <class-mapping.h>

Data Fields


Detailed Description

The Mapping object.

A Mapping consists of a bundle of SingleMappings. Each SingleMapping represents a class within the mapping, and each class maps to a number of different tokens on a particular p-attribute in a particular corpus.

Classes are mutually exclusive, i.e. a single token cannot be a member of more than one class in the same Mapping.

NB: "Mapping" is the pointer (class); MappingRecord is the underlying structure.

See also:
SingleMapping

Field Documentation

the attribute this object is valid for

Referenced by get_position_values(), map_token_to_class_number(), member_of_class_s(), print_mapping(), and read_mapping().

the corpus this Mapping is valid in

Referenced by print_mapping(), and read_mapping().

char* mapping_name

this Mapping's name

Referenced by print_mapping(), and read_mapping().

the number of single mappings currently in this Mapping

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


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