LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
AnnotationGraphWriter.h
Go to the documentation of this file.
1// Copyright 2002-2013 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6#ifndef LIMA_COMMON_ANNOTATIONGRAPHWRITER_H
7#define LIMA_COMMON_ANNOTATIONGRAPHWRITER_H
8
13// #include "linguisticProcessing/common/annotationGraph/AnnotationData.h"
14#include "AnnotationData.h"
15
16#include <string>
17
18namespace Lima
19{
20namespace Common
21{
22namespace AnnotationGraphs
23{
24
26{
27
28public:
30 const AnnotationData& data,
31 MediaId language) :
32 m_data(data),
33 m_language(language) {}
35 void writeToDotFile(const std::string& dotFileName);
36
37private:
38 AnnotationGraphWriter& operator=(const AnnotationGraphWriter&) {return *this;}
39
40 const AnnotationData& m_data;
41 const MediaId m_language;
42};
43
44} // closing namespace AnnotationGraphs
45} // closing namespace Common
46} // closing namespace Lima
47
48#endif
This file is the main header file for the data related to annotation graphs.
#define LIMA_ANNOTATIONGRAPH_EXPORT
Holds an annotation graph and gives an API to manipulate it.
AnnotationGraphWriter(const AnnotationData &data, MediaId language)
NAUTITIA.