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
10
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
46{
47namespace Compounds
48{
50
52
54{
55public:
56
57
59 MediaId language,
61 DependencyGraph* depGraph,
63 LinguisticGraphVertex startVertex,
64 LinguisticGraphVertex stopVertex,
65// uint64_t depGraphMaxBranchingFactor,
67
69
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.
DepGraphCompoundsBuildVisitor(const Lima::LinguisticProcessing::Compounds::CompoundsBuilderFromSyntacticData *cpbfsd, MediaId language, SyntacticAnalysis::SyntacticData *syntacticData, DependencyGraph *depGraph, LinguisticAnalysisStructure::AnalysisGraph *iter, LinguisticGraphVertex startVertex, LinguisticGraphVertex stopVertex, Common::AnnotationGraphs::AnnotationData *annotationData)
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.