1 #ifndef CONCORDIA_CONFIG_HDR
2 #define CONCORDIA_CONFIG_HDR
6 #include <libconfig.h++>
8 #include "concordia/concordia_exception.hpp"
32 return _htmlTagsFilePath;
40 return _stopWordsEnabled;
48 return _stopWordsFilePath;
56 return _namedEntitiesFilePath;
64 return _anubisThreshold;
68 libconfig::Config _config;
70 std::string _htmlTagsFilePath;
72 bool _stopWordsEnabled;
74 std::string _stopWordsFilePath;
76 std::string _namedEntitiesFilePath;
78 double _anubisThreshold;
80 std::string _readConfigParameterStr(
const std::string & name)
83 std::string _readConfigParameterStr(
const std::string & name,
84 const std::string & defaultValue)
virtual ~ConcordiaConfig()
Definition: concordia_config.cpp:39
Definition: concordia_exception.hpp:11
std::string & getHtmlTagsFilePath()
Definition: concordia_config.hpp:31
std::string & getNamedEntitiesFilePath()
Definition: concordia_config.hpp:55
ConcordiaConfig(const std::string &configFilePath)
Definition: concordia_config.cpp:14
double getAnubisThreshold()
Definition: concordia_config.hpp:63
bool & isStopWordsEnabled()
Definition: concordia_config.hpp:39
std::string & getStopWordsFilePath()
Definition: concordia_config.hpp:47
Definition: concordia_config.hpp:13