|
CWB
|
Underlying structure for the PositionStream object. More...
Data Fields | |
| Attribute * | attribute |
| The Attribute on which this PositionStream has been opened. More... | |
| int | id |
| The item whose positions this PositionStream will read. More... | |
| int | id_freq |
| id frequency (ie frequency of the item in question); maximum number of positions that can be read More... | |
| int | nr_items |
| how many items delivered so far More... | |
| int | is_compressed |
| Boolean: attribute REVCORP is compressed? More... | |
| BStream | bs |
| for compressed streams, the stream is a BStream object rather than just a pointer. More... | |
| int | b |
| relevent for compressed streams More... | |
| int | last_pos |
| relevent for compressed streams More... | |
| int * | base |
| pointer to base of stream for uncompressed streams. More... | |
Underlying structure for the PositionStream object.
PositionStreams are used for accessing Attributes. Each one represents a stream of corpus positions, representing positions where a given item occurs.
| Attribute* attribute |
The Attribute on which this PositionStream has been opened.
Referenced by cl_new_stream().
| int b |
relevent for compressed streams
Referenced by cl_new_stream(), and cl_read_stream().
| int* base |
pointer to base of stream for uncompressed streams.
Referenced by cl_new_stream(), and cl_read_stream().
| BStream bs |
for compressed streams, the stream is a BStream object rather than just a pointer.
Referenced by cl_new_stream(), and cl_read_stream().
| int id |
The item whose positions this PositionStream will read.
Referenced by cl_new_stream().
| int id_freq |
id frequency (ie frequency of the item in question); maximum number of positions that can be read
Referenced by cl_new_stream(), and cl_read_stream().
| int is_compressed |
Boolean: attribute REVCORP is compressed?
Referenced by cl_new_stream(), and cl_read_stream().
| int last_pos |
relevent for compressed streams
Referenced by cl_new_stream(), and cl_read_stream().
| int nr_items |
how many items delivered so far
Referenced by cl_new_stream(), and cl_read_stream().
1.8.8