CWB
Data Fields
_cl_ngram_hash_entry Struct Reference

Underlying structure for the cl_ngram_hash_entry class. More...

#include <cl.h>

Data Fields

struct _cl_ngram_hash_entrynext
 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...
 

Detailed Description

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!

Field Documentation

unsigned int freq
struct _cl_ngram_hash_entry* next
int ngram[1]

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