21#ifndef LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_FULLXMLDUMPER_H
22#define LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_FULLXMLDUMPER_H
33#include <boost/tuple/tuple.hpp>
34#include <boost/graph/properties.hpp>
44#define FULLXMLDUMPER_CLASSID "FullXmlDumper"
77 const std::string& graphId,
79 std::vector< bool >& alreadyDumpedTokens,
80 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& fullTokens)
const;
93 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& m_fullTokens;
94 std::vector< bool >& m_alreadyDumpedFullTokens;
95 const std::string& m_graphId;
99 std::ostream& outputStream,
102 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& fullTokens,
103 std::vector< bool >& alreadyDumpedFullTokens,
105 const std::string& graphId):
109 m_syntacticData(syntacticData),
110 m_language(language),
111 m_fullTokens(fullTokens),
112 m_alreadyDumpedFullTokens(alreadyDumpedFullTokens),
127 LimaString getPosition(
const uint64_t position)
const;
132 std::ostream& xmlStream,
133 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& fullTokens,
134 std::vector< bool >& alreadyDumpedFullTokens,
135 const std::string& graphId)
const;
139 std::ostream& xmlStream)
const;
#define LIMA_ANALYSISDUMPERS_EXPORT
A graph structure for linguistic analysis.
boost::graph_traits< LinguisticGraph >::edge_descriptor LinguisticGraphEdge
typedefs to simplify the access to various graphs elements
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, LinguisticVertexProperties > LinguisticGraph
Property to identify the chains in the graph.
Data used for the syntactic analyzis of texts.
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Provide tools to parse a property file, and deal with the property coding system.
InitializableObjectManager< MediaProcessUnit, MediaProcessUnitInitializationParameters > Manager
DumpGraphVisitor(const FullXmlDumper &dumper, std::ostream &outputStream, const LinguisticGraphVertex &end, const SyntacticAnalysis::SyntacticData *syntacticData, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, std::vector< bool > &alreadyDumpedFullTokens, MediaId language, const std::string &graphId)
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
const Common::PropertyCode::PropertyCodeManager * m_propertyCodeManager
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
LimaStatusCode process(AnalysisContent &analysis) const override
Process on data in analysisContent.
AnnotationGraphXmlDumper * m_annotXmlDumperPtr
An AnalysisData containing a LinguisticGraph with a language and an id.
This class points to a graph, its dependency graph and the structure that holds the maping between th...