CWB
Data Fields

_position_stream_rec_ Struct Reference

Underlying structure for the PositionStream object. More...

Data Fields


Detailed Description

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.


Field Documentation

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().

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's 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().

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().


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