The Mapping object. More...
#include <class-mapping.h>
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.
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 mappings themselves
Referenced by find_mapping(), map_id_to_class_number(), map_token_to_class(), 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().
int nr_classes |
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().