![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
Dumps all the content of the analysis on an XML stream. More...
#include <linguisticProcessing/core/AnalysisDumpers/EasyXmlDumper/easyXmlDumper.h>
Public Member Functions | |
| EasyXmlDumper () | |
| virtual | ~EasyXmlDumper () |
| 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::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 | |
Public Attributes | |
| std::vector< std::string > | m_sentIds |
Protected Member Functions | |
| void | dumpLimaData (std::ostream &os, const LinguisticGraphVertex &begin, const LinguisticGraphVertex &end, const LinguisticAnalysisStructure::AnalysisGraph &anaGraph, const LinguisticAnalysisStructure::AnalysisGraph &posGraph, const Common::AnnotationGraphs::AnnotationData &annotationData, const SyntacticAnalysis::SyntacticData &syntacticData, const std::string &graphId, std::vector< bool > &alreadyDumpedTokens, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &easyTokens, std::string sentIdPrefix) const |
Protected Attributes | |
| MediaId | m_language |
| const Common::PropertyCode::PropertyCodeManager * | m_propertyCodeManager |
| std::string | m_graph |
Protected Attributes inherited from Lima::InitializableObject< Base, InitializationParameters > | |
| std::string | m_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. | |
Dumps all the content of the analysis on an XML stream.
The exact state should be rebuildable from the dump
Definition at line 52 of file easyXmlDumper.h.
| Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::EasyXmlDumper::EasyXmlDumper | ( | ) |
Definition at line 69 of file easyXmlDumper.cpp.
|
virtual |
Definition at line 75 of file easyXmlDumper.cpp.
|
protected |
Definition at line 238 of file easyXmlDumper.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. |
Implements Lima::MediaProcessUnit.
Definition at line 79 of file easyXmlDumper.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::MediaProcessUnit.
Definition at line 118 of file easyXmlDumper.cpp.
|
protected |
Definition at line 86 of file easyXmlDumper.h.
|
protected |
Definition at line 83 of file easyXmlDumper.h.
|
protected |
Definition at line 84 of file easyXmlDumper.h.
| std::vector<std::string> Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::EasyXmlDumper::m_sentIds |
Definition at line 67 of file easyXmlDumper.h.