22#ifndef LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_POSGRAPHXMLDUMPER_H
23#define LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_POSGRAPHXMLDUMPER_H
33#include <boost/tuple/tuple.hpp>
34#include <boost/graph/properties.hpp>
56#define POSGRAPHXMLDUMPER_CLASSID "posGraphXmlDumper"
90 const std::string& graphId,
92 std::vector< bool >& alreadyDumpedTokens,
93 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& fullTokens,
94 int sentenceId)
const;
103 std::ostream& xmlStream,
104 std::map< LinguisticAnalysisStructure::Token*, uint64_t >& fullTokens,
105 std::vector< bool >& alreadyDumpedFullTokens,
106 const std::string& graphId)
const;
110 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,...
Holds an annotation graph and gives an API to manipulate it.
This is a complex token used to represent a multiword term.
Provide tools to parse a property file, and deal with the property coding system.
InitializableObjectManager< MediaProcessUnit, MediaProcessUnitInitializationParameters > Manager
void dumpLimaData(std::ostream &os, const LinguisticGraphVertex begin, const LinguisticGraphVertex end, const LinguisticAnalysisStructure::AnalysisGraph *anagraph, const LinguisticAnalysisStructure::AnalysisGraph *posgraph, const SyntacticAnalysis::SyntacticData *syntacticData, const Common::AnnotationGraphs::AnnotationData *annotationData, const std::string &graphId, bool bySentence, std::vector< bool > &alreadyDumpedTokens, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, int sentenceId) const
void naturalCompoundTokenString(const Common::BagOfWords::BoWTerm *compound, QVector< LimaString > &result) const
LinguisticProcessing::Compounds::BowGenerator * m_bowGenerator
void outputVertex(const LinguisticGraphVertex v, const LinguisticGraph &lanagraph, const LinguisticGraph &lposgraph, const SyntacticAnalysis::SyntacticData *syntacticData, const Common::AnnotationGraphs::AnnotationData *annotationData, std::ostream &xmlStream, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, std::vector< bool > &alreadyDumpedFullTokens, const std::string &graphId) const
const Common::PropertyCode::PropertyCodeManager * m_propertyCodeManager
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
void outputEdge(const LinguisticGraphEdge e, const LinguisticGraph &graph, std::ostream &xmlStream) const
LimaStatusCode process(AnalysisContent &analysis) const override
Process on data in analysisContent.
LimaString getPosition(const uint64_t position) const
Parameters retrived in the configuration file:
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...