LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Modex.h
Go to the documentation of this file.
1// Copyright 2002-2013 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6/************************************************************************
7 *
8 * @file Modex.h
9 * @author Romaric Besancon (romaric.besancon@cea.fr)
10 * @date Mon Jan 22 2007
11 * copyright Copyright (C) 2007 by CEA LIST
12 * Project InformationExtraction
13 *
14 * @brief a modex is a module designed for information extraction and
15 * uses entity and template definitions. It is defined as a process
16 * unit to be integrated in a linguistic analysis pipeline.
17 *
18 *
19 ***********************************************************************/
20
21#ifndef MODEX_H
22#define MODEX_H
23
29
30namespace Lima {
31namespace LinguisticProcessing {
32
33#define MODEX_CLASSID "Modex"
34
35class Modex : public LinguisticProcessing::LinguisticProcessUnit
36{
37 public:
38 Modex();
39 virtual ~Modex();
40
42 Manager* manager)
43 ;
44
45 LimaStatusCode process(AnalysisContent& analysis) const;
46
47 private:
48 MediaId m_language;
49 const MediaProcessUnitPipeline* m_pipeline;
50
51 // private member functions
52 void initModex(const std::string& configFile,MediaId lang);
53 void initEntities(const std::string& filename);
54 void initEntities(Common::XMLConfigurationFiles::XMLConfigurationFileParser& configParser);
55 void initModexConfig(Common::XMLConfigurationFiles::XMLConfigurationFileParser& configParser);
56 void addConfiguration(Common::XMLConfigurationFiles::ModuleConfigurationStructure& modexConfig,
58
59};
60
61} // end namespace
62} // end namespace
63
64#endif
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Parser class for the lima's xml configuration files.
LimaStatusCode process(AnalysisContent &analysis) const
Definition Modex.cpp:250
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager)
Definition Modex.cpp:44
originally detectGroupConfigurationStructure.h in detectlibraries
originally detectModuleConfigurationStructure.h in detectlibraries
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236
LIMA_MEDIAPROCESSORS_EXPORT typedef Lima::ProcessUnitPipeline< MediaProcessUnit > MediaProcessUnitPipeline