CWB
Data Fields
_Matchlist Struct Reference

The Matchlist object. More...

#include <matchlist.h>

Data Fields

int * start
 Table of match start points (corpus posiitons) More...
 
int * end
 Table of match end points (cirpus positions) More...
 
int * target_positions
 Table of match end points (cirpus positions) More...
 
int tabsize
 Number of integers in each of the three arrays. More...
 
int matches_whole_corpus
 Boolean: if true, every position in the cirpus matches. More...
 
int is_inverted
 Boolean: if true, this matchilist contains ``inverted'' positions, that is,positions which do NOT match. More...
 

Detailed Description

The Matchlist object.

This is a table of integers describing matches to a query.

Field Documentation

int* end
int is_inverted

Boolean: if true, this matchilist contains ``inverted'' positions, that is,positions which do NOT match.

Referenced by calculate_initial_matchlist(), calculate_initial_matchlist_1(), get_matched_corpus_positions(), init_matchlist(), Setop(), and show_matchlist().

int matches_whole_corpus

Boolean: if true, every position in the cirpus matches.

In this case, we avoid copying.

Referenced by calculate_initial_matchlist_1(), get_corpus_positions(), get_matched_corpus_positions(), init_matchlist(), matchfirstpattern(), meet_mu(), and Setop().

int* start
int tabsize
int* target_positions

Table of match end points (cirpus positions)

Referenced by free_matchlist(), init_matchlist(), set_corpus_matchlists(), Setop(), show_matchlist(), simulate(), and simulate_dfa().


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