_Hash Struct Reference
A specialised hash for computing frequency distributions over tuples of lexicon IDs.
More...
Data Fields
- int N
- number of keys, including constraint-only keys
- Attribute * att [MAX_N]
- list of the N attributes corresponding to the keys of the hash
- int offset [MAX_N]
- list of optional corpus position offsets
- int max_offset
- largest offset of all keys (to avoid scanning past end of corpus
- int is_structural [MAX_N]
- list of flags identifying s-attributes (all others are p-attributes)
- CL_Regex regex [MAX_N]
- optional regex constraint (compiled regular expression)
- Attribute * frequency_values
- int * frequency
- pre-computed integer values for the attribute keys
- int * id_list [MAX_N]
- optional regex constraint (stored as a list of matching lexicon IDs)
- int id_list_size [MAX_N]
- size of this list
- int current_struc [MAX_N]
- number of current or next structure
- int start_cpos [MAX_N]
- start of this structure (cpos)
- int end_cpos [MAX_N]
- end of this structure (cpos)
- int constraint_ok [MAX_N]
- whether constraint is satisfied (initialised at start_cpos, reset at end_cpos)
- int virtual_id [MAX_N]
- virtual ID of a region's annotation string (constant within region)
- char * source_base [MAX_N]
- base pointers to compute virtual IDs (= offsets) from annotation strings
- int is_constraint [MAX_N]
- list of flags marking constraint keys ("?...")
- int K
- number of non-constraint keys, i.e.
- int buckets
- no.
- HashEntry * table
- array of HashEntry pointers == buckets (initialised to NULL, i.e.
Detailed Description
A specialised hash for computing frequency distributions over tuples of lexicon IDs.
Field Documentation
list of the N attributes corresponding to the keys of the hash
Referenced by add_key(), and main().
whether constraint is satisfied (initialised at start_cpos, reset at end_cpos)
Referenced by add_key(), and main().
pre-computed integer values for the attribute keys
Referenced by main().
optional regex constraint (stored as a list of matching lexicon IDs)
Referenced by add_key(), and main().
list of flags marking constraint keys ("?...")
Referenced by add_key(), and main().
list of flags identifying s-attributes (all others are p-attributes)
Referenced by add_key(), and main().
largest offset of all keys (to avoid scanning past end of corpus
Referenced by add_key(), and main().
number of keys, including constraint-only keys
Referenced by add_key(), and main().
list of optional corpus position offsets
Referenced by add_key(), and main().
optional regex constraint (compiled regular expression)
Referenced by add_key(), and main().
base pointers to compute virtual IDs (= offsets) from annotation strings
Referenced by add_key(), and main().
virtual ID of a region's annotation string (constant within region)
Referenced by main().
The documentation for this struct was generated from the following file: