LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SyntacticAnalysisTools.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
17#ifndef SYNTACTIC_ANALYSIS_TOOLS_H
18#define SYNTACTIC_ANALYSIS_TOOLS_H
19
23#include "DependencyGraph.h"
25#include "SyntacticData.h"
26
27#include <iostream>
28
29namespace Lima {
30namespace LinguisticProcessing {
31namespace SyntacticAnalysis {
32
34
35 public:
36
37 static void displayChains(const LinguisticAnalysisStructure::AnalysisGraph* graph,
38 std::ostream& out);
39
40 static void displayChain(const LinguisticAnalysisStructure::ChainIdStruct& chain,
43 std::ostream& out);
44
45 static void displayDependancies(const SyntacticData& data,
46 const MediaId language,
47 std::ostream& out,
48 const bool DisplayLemma=false);
49
50 static void
51 displayRelationsOrderOfArguments(const SyntacticData& data,
52 const MediaId language,
53 std::ostream& out);
54
55
56 static void displayRelationsDistanceOfArguments(const SyntacticData& data,
57 const MediaId language,
58 std::ostream& out);
59
60 static void displayRelationsXMLFormat(const SyntacticData& data,
61 const MediaId language,
62 std::ostream& out);
63
64};
65
66} // end namespace
67} // end namespace
68} // end namespace
69
70#endif
A graph that stores the relations of syntactic dependency between the elements of a DependencyGraph.
A graph structure for linguistic analysis.
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
#define LIMA_SYNTACTICANALYSIS_EXPORT
Data used for the syntactic analyzis of texts.
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.