10#ifndef LIMA_LINGUISTICPROCESSING_SIMPLEXMLBOWDUMPER_H
11#define LIMA_LINGUISTICPROCESSING_SIMPLEXMLBOWDUMPER_H
31#define SIMPLEXMLDUMPER_CLASSID "SimpleXmlDumper"
84 uint64_t offset)
const;
88 const std::vector<LinguisticAnalysisStructure::MorphoSyntacticData*>& data,
98 const uint64_t offset)
const;
101 std::string
xmlString(
const std::string& str)
const;
102 void replace(std::string& str,
const std::string& toReplace,
const std::string& newValue)
const;
#define LIMA_ANALYSISDUMPERS_EXPORT
A graph that stores any data (annotations) referencing primarily nodes of a text anlaysis.
A graph structure for linguistic analysis.
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.
Provide function to read write and check a property.
Provide tools to manage a specific property.
InitializableObjectManager< MediaProcessUnit, MediaProcessUnitInitializationParameters > Manager
AbstractTextualAnalysisDumper()
void xmlOutputVertices(std::ostream &out, LinguisticAnalysisStructure::AnalysisGraph *anagraph, LinguisticAnalysisStructure::AnalysisGraph *posgraph, const Common::AnnotationGraphs::AnnotationData *annotationData, const LinguisticGraphVertex begin, const LinguisticGraphVertex end, const FsaStringsPool &sp, const uint64_t offset) const
std::string m_encapsulatingTag
void xmlOutputVertexInfos(std::ostream &out, const LinguisticAnalysisStructure::Token *ft, const std::vector< LinguisticAnalysisStructure::MorphoSyntacticData * > &data, const FsaStringsPool &sp, uint64_t offset, LinguisticCode category=L_NONE) const
bool outputSpecificEntity(std::ostream &out, const SpecificEntities::SpecificEntityAnnotation *se, LinguisticAnalysisStructure::MorphoSyntacticData *data, const LinguisticGraph *graph, const FsaStringsPool &sp, const uint64_t offset) const
const Common::PropertyCode::PropertyManager * m_tenseManager
virtual void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
const Common::PropertyCode::PropertyAccessor * m_tenseAccessor
void replace(std::string &str, const std::string &toReplace, const std::string &newValue) const
std::string xmlString(const std::string &str) const
virtual LimaStatusCode process(AnalysisContent &analysis) const override
Process on data in analysisContent.
void xmlOutputVertex(std::ostream &out, LinguisticGraphVertex v, const LinguisticAnalysisStructure::Token *ft, LinguisticAnalysisStructure::AnalysisGraph *anagraph, LinguisticAnalysisStructure::AnalysisGraph *posgraph, const Common::AnnotationGraphs::AnnotationData *annotationData, const FsaStringsPool &sp, uint64_t offset) const
const Common::PropertyCode::PropertyManager * m_propertyManager
const Common::PropertyCode::PropertyAccessor * m_propertyAccessor
void xmlOutput(std::ostream &out, AnalysisContent &analysis, LinguisticAnalysisStructure::AnalysisGraph *anagraph, LinguisticAnalysisStructure::AnalysisGraph *posgraph, const Common::AnnotationGraphs::AnnotationData *annotationData) const
An AnalysisData containing a LinguisticGraph with a language and an id.
Holds morphosyntactic informations.
holds surface data of a token
A representation of a specific entity to store in the annotation graph.