settings Namespace Reference

Namespace holds (global) program settings and functions checking their corectness. More...


Functions

bool context_tracing_on (void)
bool correct (void)
bool ready (void)

Variables

ContextWindow context_window
 Context window settings.
const char * context_filter_file
 Context filters filename.
const char * context_output_file
 Context output filename.
const char * context_tag_mask
 Context morphologic tag mask.
const char * dir
 Directory with data files.
const char * morphologic_filter_file
 File with morphologic filter.
const char * input_file
 Input filename.
word_order_t n
 N-gram size.
const char * output_file
 Output filename.
const char * stats_file
 Stats output filename.
Sieves sieves
 To sieve the resulting statistics by given thresholds.
Thresholds thresholds
 To sieve the resulting statistics by given thresholds.
bool all_thresholds_together
 If true, all non-zero thresholds must be passed, otherwise passing one of them is enough.
const char * morphologic_tag_mask
 Tag mask determines significant positions of morphological tag.


Detailed Description

Namespace holds (global) program settings and functions checking their corectness.

Function Documentation

bool settings::context_tracing_on ( void   ) 

Returns:
True, if context has to be gathered.

Definition at line 108 of file config.cpp.

bool settings::correct ( void   ) 

Returns:
True, if all given settings are set correctly (both mandatory and optional).

Definition at line 112 of file config.cpp.

bool settings::ready ( void   ) 

Returns:
True, if all mandatory settings are given.

Definition at line 127 of file config.cpp.


Variable Documentation

Context morphologic tag mask.

Note: it's only used for determination of words in context equality. It's NOT used by context filter (morphologic tag is used).

Definition at line 44 of file config.cpp.


Generated on Wed Jul 9 11:13:21 2008 for ACE by  doxygen 1.5.6