CWB
|
int compute_ba | ( | int | ft, |
int | corpus_size | ||
) |
{I have no idea what this does -- AH}
ft | ?? |
corpus_size | ?? |
Referenced by cl_id2cpos_oldstyle(), cl_new_stream(), compress_reversed_index(), and decompress_check_reversed_index().
int read_golomb_code_bf | ( | int | b, |
BFile * | bf | ||
) |
Reads an integer from a Golomb-coded bit-file-buffer.
b | ??? |
bf | The bit-filem to read from. |
References BFread(), and log2.
Referenced by decompress_check_reversed_index().
int read_golomb_code_bs | ( | int | b, |
BStream * | bs | ||
) |
Reads an integer from a Golomb-coded bitstream.
b | ??? |
bs | The bitstream to read from. |
References BSread(), and log2.
Referenced by cl_id2cpos_oldstyle(), and cl_read_stream().
int write_golomb_code | ( | int | x, |
int | b, | ||
BFile * | bf | ||
) |
Writes an integer to a Golomb-coded bit-file-buffer.
x | Integer to write |
b | ??? |
bf | The bit-file to read from. |
References BFwrite(), BFwriteWord(), and log2.
Referenced by compress_reversed_index().