27namespace LinguisticProcessing
30namespace AnalysisDumpers
53 QString stopListFileName;
60 LERROR <<
"No param 'file' in StopList configuration group ! ";
64 std::ifstream stopListFile(stopListFileName.toUtf8().constData(), std::ifstream::binary);
66 LERROR <<
"invalid file " << stopListFileName;
71 LDEBUG <<
"Loading stop list file: " << stopListFileName;
72 while (!wword.isEmpty())
Defines a Factory to create Object of type Base.
std::string & getParamsValueAtKey(const std::string &key)
return a message when a 'param' was not found
Manage initialization of InitializableObjects using configuration module and parameters.
Use this exception to signal an error in one of the configuration files.
QString getResourceFileName(const QString ¶mName)
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
std::string readLine(std::istream &inputFile)
LimaString utf8stdstring2limastring(const std::string &src)
SimpleFactory< AbstractResource, StopList > stopListFactory(STOPLIST_CLASSID)
launch exception related to the configuration file parsing