ace::constants Namespace Reference

All program constants happily live together in this nicenamed namespace. More...


Variables

const size_t max_grammity = std::numeric_limits<ngram_type_t>::digits - 1
 Max grammity defines maximum allowed value of N.
const size_t bits_per_char = std::numeric_limits<unsigned char>::digits
 Bits per char.
const size_t ngram_within_block = 16*1024
 Number of N-grams to hold in single memory pool block.
const size_t default_precision = 10
 Default output statistics precision.
const size_t max_sentence_length = std::numeric_limits<word_order_t>::max()
 Max sentence length.
const size_t max_collocation_window_size = std::numeric_limits<size_t>::digits
 Maximum allowed collocation window size.
const char significant_position_mark = '*'
 Declaration of character used as indicator of significant positions within (morphologic) tag masks.
const char insignificant_position_mark = '-'
 Declaration of character used as indicator of insignificant positions within (morphologic) tag masks.
const size_t sentences_radius_max_size = 2
 Declaration of (inclusive) upper bound for sentence radius size (see context.h for more info).
const size_t words_radius_max_size = 50
 Declaration of (inclusive) upper bound for words radius size (see context.h for more info).
const size_t max_string_length = 65535
 Maximum allowed string length is used as chars pool block size (block size is +1, to have place for trailing NULL sign).
const char null_char = '\0'
 Null char.
const char eol = '\n'
 End-of-line.


Detailed Description

All program constants happily live together in this nicenamed namespace.

Variable Documentation

const size_t ace::constants::bits_per_char = std::numeric_limits<unsigned char>::digits

Bits per char.

Default output statistics precision.

const char ace::constants::eol = '\n'

End-of-line.

Declaration of character used as indicator of insignificant positions within (morphologic) tag masks.

const size_t ace::constants::max_collocation_window_size = std::numeric_limits<size_t>::digits

Maximum allowed collocation window size.

const size_t ace::constants::max_grammity = std::numeric_limits<ngram_type_t>::digits - 1

Max grammity defines maximum allowed value of N.

const size_t ace::constants::max_sentence_length = std::numeric_limits<word_order_t>::max()

Max sentence length.

const size_t ace::constants::max_string_length = 65535

Maximum allowed string length is used as chars pool block size (block size is +1, to have place for trailing NULL sign).

const size_t ace::constants::ngram_within_block = 16*1024

Number of N-grams to hold in single memory pool block.

const char ace::constants::null_char = '\0'

Null char.

Declaration of (inclusive) upper bound for sentence radius size (see context.h for more info).

Declaration of character used as indicator of significant positions within (morphologic) tag masks.

Declaration of (inclusive) upper bound for words radius size (see context.h for more info).


Generated on Wed Aug 6 23:25:51 2008 for PACE by  doxygen 1.5.6