LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
DepGraphCompoundsBuildVisitor.h
Go to the documentation of this file.
1// Copyright 2002-2022 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
11#ifndef LIMA_SYNTACTICANALYSIS_DEPGRAPHCOMPOUNDSBUILDVISITOR_H
12#define LIMA_SYNTACTICANALYSIS_DEPGRAPHCOMPOUNDSBUILDVISITOR_H
13
14#include "CompoundsExport.h"
16
24
25// To use tuples
26#include "boost/tuple/tuple.hpp"
27//Comparison operators can be included with:
28#include "boost/tuple/tuple_comparison.hpp"
29// To use tuple input and output operators,
30#include "boost/tuple/tuple_io.hpp"
31
32#include <string>
33
34namespace Lima
35{
36namespace Common
37{
38namespace AnnotationGraphs
39{
40 class AnnotationData;
41}
42}
43
44
45namespace LinguisticProcessing
46{
47namespace Compounds
48{
49class CompoundsBuilderFromSyntacticData;
50
51class DepGraphCompoundsBuildVisitorPrivate;
52
54{
55public:
56
57
59 MediaId language,
61 DependencyGraph* depGraph,
63 LinguisticGraphVertex startVertex,
64 LinguisticGraphVertex stopVertex,
65// uint64_t depGraphMaxBranchingFactor,
67
69
70 void discover_vertex(LinguisticGraphVertex v);
71
72private:
74
75}; // end of class DepGraphCompoundsBuildVisitor
76
77
78} // closing namespace Compounds
79} // closing namespace LinguisticProcessing
80} // closing namespace Lima
81
82#endif // LIMA_SYNTACTICANALYSIS_DEPGRAPHCOMPOUNDSBUILDVISITOR_H
A graph that stores any data (annotations) referencing primarily nodes of a text anlaysis.
#define LIMA_COMPOUNDS_EXPORT
A graph that stores the relations of syntactic dependency between the elements of a DependencyGraph.
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, DepVertexProperties, DepEdgeProperties > DependencyGraph
The dependency graph class.
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
Data used for the syntactic analyzis of texts.
Holds an annotation graph and gives an API to manipulate it.
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...
NAUTITIA.