CWB
|
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. More...
#include <context_descriptor.h>
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!
char* left_structure_name |
int left_type |
Set to one of the constants: CHAR_CONTEXT, WORD_CONTEXT, STRUC_CONTEXT, ALIGN_CONTEXT.
Referenced by ascii_print_corpus_header(), compose_kwic_line(), html_print_context(), init_align_module(), initialize_context_descriptor(), latex_print_context(), PrintContextDescriptor(), set_context_option_value(), set_default_option_values(), sgml_print_context(), and verify_context_descriptor().
int left_width |
Amount of context to show before the match, in units specified by left_type.
Referenced by ascii_print_corpus_header(), compose_kwic_line(), html_print_context(), initialize_context_descriptor(), latex_print_context(), parse_options(), PrintContextDescriptor(), set_context_option_value(), set_default_option_values(), sgml_print_context(), and verify_context_descriptor().
int print_cpos |
char* right_structure_name |
int right_type |
Set to one of the constants: CHAR_CONTEXT, WORD_CONTEXT, STRUC_CONTEXT, ALIGN_CONTEXT.
Referenced by ascii_print_corpus_header(), compose_kwic_line(), html_print_context(), init_align_module(), initialize_context_descriptor(), latex_print_context(), PrintContextDescriptor(), set_context_option_value(), set_default_option_values(), sgml_print_context(), and verify_context_descriptor().
int right_width |
Amount of context to show after the match, in units specified by right_type.
Referenced by ascii_print_corpus_header(), compose_kwic_line(), html_print_context(), initialize_context_descriptor(), latex_print_context(), parse_options(), PrintContextDescriptor(), set_context_option_value(), set_default_option_values(), sgml_print_context(), and verify_context_descriptor().