LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SemanticRelationsXmlLogger.h
Go to the documentation of this file.
1// Copyright (C) 2007 by CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6#ifndef SEMANTICRELATIONSXMLLOGGERSEMANTICRELATIONSXMLLOGGER_H
7#define SEMANTICRELATIONSXMLLOGGERSEMANTICRELATIONSXMLLOGGER_H
8
12
13namespace Lima
14{
16{
17namespace SemanticAnalysis
18{
19
20#define SEMANTICRELATIONSXMLLOGGER_CLASSID "SemanticRelationsXmlLogger"
22{
23public:
25
27
28 virtual void init(
30 Manager* manager) override;
31
32 virtual LimaStatusCode process(AnalysisContent& analysis) const override;
33
34private:
35 MediaId m_language;
36 std::string m_graph;
37
38 // private memeber functions
39 std::string vertexStringForSemanticAnnotation(const std::string& vertexRole,
40 const LinguisticGraphVertex& vertex,
41 const VertexTokenPropertyMap& tokenMap,
43 uint64_t offset) const;
44
45};
46
47} // SemanticAnalysis
48} // LinguisticProcessing
49} // Lima
50
51#endif
This file is the main header file for the data related to annotation graphs.
boost::property_map< LinguisticGraph, vertex_token_t >::type VertexTokenPropertyMap
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Holds an annotation graph and gives an API to manipulate it.
InitializableObjectManager< MediaProcessUnit, MediaProcessUnitInitializationParameters > Manager
virtual LimaStatusCode process(AnalysisContent &analysis) const override
Process on data in analysisContent.
virtual void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236