![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
Dumps all the content of the analysis on an XML stream. More...
#include <linguisticProcessing/core/AnalysisDumpers/fullXmlDumper.h>
Classes | |
| class | DumpGraphVisitor |
| a visitor for going through the graph between two points and storing a BoWToken for every vertex that are not part of a complex token More... | |
Public Member Functions | |
| FullXmlDumper () | |
| virtual | ~FullXmlDumper () |
| 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 | |
Protected Member Functions | |
| void | dumpLimaData (std::ostream &os, const LinguisticGraphVertex begin, const LinguisticGraphVertex end, const LinguisticAnalysisStructure::AnalysisGraph *anagraph, const SyntacticAnalysis::SyntacticData *syntacticData, const std::string &graphId, bool bySentence, std::vector< bool > &alreadyDumpedTokens, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens) const |
| LimaString | getPosition (const uint64_t position) const |
| void | outputVertex (const LinguisticGraphVertex v, const LinguisticGraph &graph, const SyntacticAnalysis::SyntacticData *syntacticData, std::ostream &xmlStream, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, std::vector< bool > &alreadyDumpedFullTokens, const std::string &graphId) const |
| void | outputEdge (const LinguisticGraphEdge e, const LinguisticGraph &graph, std::ostream &xmlStream) const |
Protected Attributes | |
| AnnotationGraphXmlDumper * | m_annotXmlDumperPtr |
| MediaId | m_language |
| const Common::PropertyCode::PropertyCodeManager * | m_propertyCodeManager |
| bool | m_dumpFullTokens |
| std::string | m_graph |
| std::string | m_handler |
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 fullXmlDumper.h.
| Lima::LinguisticProcessing::AnalysisDumpers::FullXmlDumper::FullXmlDumper | ( | ) |
Definition at line 73 of file fullXmlDumper.cpp.
|
virtual |
Definition at line 81 of file fullXmlDumper.cpp.
|
protected |
Definition at line 309 of file fullXmlDumper.cpp.
|
protected |
Definition at line 387 of file fullXmlDumper.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 85 of file fullXmlDumper.cpp.
|
protected |
Definition at line 493 of file fullXmlDumper.cpp.
|
protected |
Definition at line 394 of file fullXmlDumper.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 125 of file fullXmlDumper.cpp.
|
protected |
Definition at line 70 of file fullXmlDumper.h.
|
protected |
Definition at line 144 of file fullXmlDumper.h.
|
protected |
Definition at line 145 of file fullXmlDumper.h.
|
protected |
Definition at line 146 of file fullXmlDumper.h.
|
protected |
Definition at line 141 of file fullXmlDumper.h.
|
protected |
Definition at line 142 of file fullXmlDumper.h.