Cambridge SMT System
main.lmert.init_param_options.hpp File Reference
Include dependency graph for main.lmert.init_param_options.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ucam
 
 ucam::util
 

Functions

void ucam::util::init_param_options (int argc, const char *argv[], po::variables_map *vm)
 Function to initialize boost program_options module with command-line and config file options. Note that both the config file and the command line options are parsed. This means that whatever the source of the parameter it is equally safe to use, i.e. the expected type (int, string, ...) as defined in the options should be guaranteed a priori. This function is typically used with RegistryPO class, which will contain all relevant variables to share across all task classes. More...