![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
A factory for the AbstractLinguisticProcessingClient: contains the registration of all implemented clients that are linked with the program. More...
#include <common/AbstractProcessingClient/AbstractProcessingClient.h>
Public Member Functions | |
| virtual void | configure (Common::XMLConfigurationFiles::XMLConfigurationFileParser &configuration, std::deque< std::string > langs, std::deque< std::string > pipelines)=0 |
| This function configures the factory, using an XML configuration file S2-lp.xml. | |
| virtual std::shared_ptr< AbstractProcessingClient > | createClient () const =0 |
| This function create a LinguisticProcessing client. | |
| virtual | ~AbstractProcessingClientFactory () |
| virtual destructor of the LinguisticProcessing client factory | |
Protected Member Functions | |
| AbstractProcessingClientFactory (const std::string &) | |
A factory for the AbstractLinguisticProcessingClient: contains the registration of all implemented clients that are linked with the program.
The factory dynamically creates the actual clients from their names.
Definition at line 47 of file AbstractProcessingClient.h.
|
inlinevirtual |
virtual destructor of the LinguisticProcessing client factory
Definition at line 85 of file AbstractProcessingClient.h.
|
inlineprotected |
Definition at line 88 of file AbstractProcessingClient.h.
|
pure virtual |
This function configures the factory, using an XML configuration file S2-lp.xml.
| configuration | the result of the parsing of the XML configuration file |
| langs | the languages to configure: several languages may be configured in the same linguistic analyzer client, the actual language of the analysis is given in the analyze() function of the client. |
| pipelines | the pipelines to configure: several pipelines may be configured in the same linguistic analyzer client, the actual language of the analysis is given in the analyze() function of the client. Each pipeline configured will initialize all needed processing units and the corresponding linguistic resources. |
Implemented in Lima::LinguisticProcessing::CoreLinguisticProcessingClientFactory, and Lima::LinguisticProcessing::AbstractLinguisticProcessingClientFactory.
|
pure virtual |
This function create a LinguisticProcessing client.
Implemented in Lima::LinguisticProcessing::CoreLinguisticProcessingClientFactory, and Lima::LinguisticProcessing::AbstractLinguisticProcessingClientFactory.