proto/Source/config.h File Reference

Header file with declarations and definitions of program configuration constants, basic defines and typedefs used throughout the program. More...

#include <cstddef>

Namespaces

namespace  ace
namespace  ace::constants
namespace  ace::settings

Classes

class  ace::TaggedLemma
 Class holds lemma and tag indices together. More...
struct  ace::ContextWindow
 Type holding context window settings. More...
struct  ace::Sieves
 Lower bounds for evaluated N-grams. More...
struct  ace::Thresholds
 Thresholds for various statistical tests evaluations. More...

Defines

#define _DEPENDENCY_MODE

Typedefs

typedef unsigned short ace::word_order_t
 This typedef determines max_sentence_length constant definition (maximum allowed value of this type is max sentence length).
typedef unsigned int ace::string_index_t
 This type must be capable of holding number of all different strings which are stored in certain store.
typedef unsigned char ace::ngram_size_t
 Type used for representation of N value and also for indexing of N-gram members (so must be capable of holding constants::max_grammity value).
typedef unsigned char ace::dependency_index_t
 This type must be capable of holding number of all different dependency types which may occurr within program run.
typedef unsigned char ace::tag_index_t
 This type must be capable of holding number of all different tags which may occurr within program run.
typedef unsigned char ace::ngram_type_t
 This type must be capable of holding |max_grammity| bits (not the value!).

Functions

bool ace::settings::check_mask (const char *mask)
bool ace::settings::context_tracing_on (void)
bool ace::settings::correct (void)
bool ace::settings::ready (void)

Variables

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 char ace::constants::null_char = '\0'
 Null char.
const char ace::constants::eol = '\n'
 End-of-line.


Detailed Description

Header file with declarations and definitions of program configuration constants, basic defines and typedefs used throughout the program.

Note: Almost every compilation unit includes this file, so any change within file leads to recompilation of whole program.

(C) Ceslav Przywara 2008, MFF UK Prague


Define Documentation

#define _DEPENDENCY_MODE


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