CWB
|
Underlying structure for the cl_ngram_hash_entry class. More...
#include <cl.h>
Data Fields | |
struct _cl_ngram_hash_entry * | next |
next entry on the linked-list (i.e. More... | |
unsigned int | freq |
frequency of this type More... | |
int | ngram [1] |
ngram data embedded in struct More... | |
Underlying structure for the cl_ngram_hash_entry class.
Unlike most underlying structures, this is public in the CL API, so that applications can iterate through entries, sort them, etc.
Access the frequency count with entry->freq, and the type IDs of the tuple members with entry->ngram[0], entry->ngram[1], ...
Entries MUST NOT be allocated, copied or modified directly by an application!
unsigned int freq |
frequency of this type
Referenced by cl_ngram_hash_add(), cl_ngram_hash_del(), cl_ngram_hash_freq(), ComputeGroupInternally(), and main().
struct _cl_ngram_hash_entry* next |
next entry on the linked-list (i.e.
in the bucket)
Referenced by cl_delete_ngram_hash(), cl_ngram_hash_add(), cl_ngram_hash_check_grow(), cl_ngram_hash_del(), cl_ngram_hash_find_i(), cl_ngram_hash_get_entries(), cl_ngram_hash_iterator_next(), and cl_ngram_hash_stats().
int ngram[1] |
ngram data embedded in struct
Referenced by cl_ngram_hash_add(), cl_ngram_hash_check_grow(), cl_ngram_hash_find_i(), ComputeGroupInternally(), and main().