![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
A logger process unit to output coreference solving results in XML format The process unit configuration parameters are: More...
#include <linguisticProcessing/core/CorefSolving/CorefSolvingXmlLogger.h>
Public Member Functions | |
| CorefSolvingXmlLogger () | |
| virtual | ~CorefSolvingXmlLogger () |
| void | init (Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override |
| initialize with parameters from configuration file. | |
| LimaStatusCode | process (AnalysisContent &analysis) const override |
| Process on data in analysisContent. | |
Public Member Functions inherited from Lima::LinguisticProcessing::AbstractLinguisticLogger | |
| AbstractLinguisticLogger (const std::string &defaultSuffix=".log") | |
| virtual | ~AbstractLinguisticLogger () |
| bool | openLogFile (std::ofstream &output, const std::string &sourceFile) const |
Public Member Functions inherited from Lima::InitializableObject< Base, InitializationParameters > | |
| InitializableObject () | |
| InitializableObject (const InitializableObject &object) | |
| InitializableObject & | operator= (const InitializableObject &object) |
| virtual | ~InitializableObject () |
| const std::string & | getId () const |
| get the object id | |
| void | setId (const std::string &id) |
| set the object id | |
Additional Inherited Members | |
Public Types inherited from Lima::InitializableObject< Base, InitializationParameters > | |
| typedef InitializableObjectManager< Base, InitializationParameters > | Manager |
| Manager is the type of the Manager associated to the initializableObject. | |
| typedef InitializableObjectFactory< Base > | Factory |
| Factory is the type of the Factory associated to the initializableObject. | |
Protected Attributes inherited from Lima::InitializableObject< Base, InitializationParameters > | |
| std::string | m_id |
A logger process unit to output coreference solving results in XML format The process unit configuration parameters are:
The output format is an XML with the analyzed text and tags identifying coreferences. Tags format is: <COREF ID="id" TYPE="coref_type" REF="ref_id" CATEG="categ">leur</COREF> id value is ? coref_type possible values are : IDENT, ??? ref_id is the id of the referred entity, can be absent if the current tag is the referred entity categ possible values are : other, reflPron, undef, def, ???
Definition at line 82 of file CorefSolvingXmlLogger.h.
| Lima::LinguisticProcessing::Coreferences::CorefSolvingXmlLogger::CorefSolvingXmlLogger | ( | ) |
Definition at line 51 of file CorefSolvingXmlLogger.cpp.
|
virtual |
Definition at line 55 of file CorefSolvingXmlLogger.cpp.
|
overridevirtual |
initialize with parameters from configuration file.
| unitConfiguration | @IN : <group> tag in xml configuration file that contains parameters to initialize the object. |
| manager | @IN : manager that asked for initialization and carries init params Use it to initialize other objects of same kind. |
| InvalidConfiguration | when parameters are invalids. |
Reimplemented from Lima::LinguisticProcessing::AbstractLinguisticLogger.
Definition at line 58 of file CorefSolvingXmlLogger.cpp.
|
overridevirtual |
Process on data in analysisContent.
This method should not return any exception
| analysis | AnalysisContent object on which to process |
| UndefinedMethod | if this method hasn't been specialized |
Implements Lima::LinguisticProcessing::AbstractLinguisticLogger.
Definition at line 81 of file CorefSolvingXmlLogger.cpp.