Concordia
ConcordiaConfig Class Reference

#include <concordia_config.hpp>

Public Member Functions

 ConcordiaConfig (const std::string &configFilePath) throw (ConcordiaException)
 
virtual ~ConcordiaConfig ()
 
std::string & getHtmlTagsFilePath ()
 
bool & isStopWordsEnabled ()
 
std::string & getStopWordsFilePath ()
 
std::string & getNamedEntitiesFilePath ()
 
double getAnubisThreshold ()
 

Detailed Description

Class representing the Concordia configuration.

Constructor & Destructor Documentation

ConcordiaConfig::ConcordiaConfig ( const std::string &  configFilePath)
throw (ConcordiaException
)
explicit

Constructor.

Parameters
configFilePathpath of the configuration file (see running3 for file specification).
Exceptions
ConcordiaException
ConcordiaConfig::~ConcordiaConfig ( )
virtual

Destructor.

Member Function Documentation

double ConcordiaConfig::getAnubisThreshold ( )
inline

Getter for anubis threshold. Anubis search results with scores below that threshold will be discarded.

Returns
anubis threshold
std::string& ConcordiaConfig::getHtmlTagsFilePath ( )
inline

Getter for html tags file path. For more information see Concordia configuration.

Returns
html tags file path
std::string& ConcordiaConfig::getNamedEntitiesFilePath ( )
inline

Getter for named entities file path. For more information see Concordia configuration.

Returns
named entities file path
std::string& ConcordiaConfig::getStopWordsFilePath ( )
inline

Getter for stop words file path. For more information see Concordia configuration.

Returns
stop words file path
bool& ConcordiaConfig::isStopWordsEnabled ( )
inline

Getter for stop symbols enabled parameter. For more information see Concordia configuration.

Returns
true if stop words are enabled

The documentation for this class was generated from the following files: