![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
mother class of (abstract) clients that analyse content. More...
#include <common/AbstractProcessingClient/AbstractProcessingClient.h>
Public Member Functions | |
| virtual | ~AbstractProcessingClient () |
| Define the destructor virtual to ensure concrete client destructors to be called. | |
| virtual std::shared_ptr< AnalysisContent > | analyze (const std::string &content, const std::map< std::string, std::string > &metaData, const std::string &pipeline, const std::map< std::string, AbstractAnalysisHandler * > &handlers, const std::set< std::string > &inactiveUnits=std::set< std::string >()) const =0 |
| analyze a content, given the pipeline and the expected resultType | |
mother class of (abstract) clients that analyse content.
Definition at line 19 of file AbstractProcessingClient.h.
|
inlinevirtual |
Define the destructor virtual to ensure concrete client destructors to be called.
Definition at line 24 of file AbstractProcessingClient.h.
|
pure virtual |
analyze a content, given the pipeline and the expected resultType
| content | path of the file or content to analyze in string format |
| metaData | additional information |
| pipeline | analysis pipeline to use (an analysis pipeline is a chain of processUnit) |
| inactiveUnits | a set of pipeline units to skip during analysis |
Implemented in Lima::XmlReader::CoreXmlReaderClient, Lima::XmlReader::AbstractXmlReaderClient, Lima::LinguisticProcessing::AbstractLinguisticProcessingClient, and Lima::LinguisticProcessing::CoreLinguisticProcessingClient.