LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SyntacticAnalyzer-disamb.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 LIMA_SYNTACTICANALYSIS_SYNTACTICANALYZERDISAMB_H
18#define LIMA_SYNTACTICANALYSIS_SYNTACTICANALYZERDISAMB_H
19
24
25namespace Lima
26{
27namespace LinguisticProcessing
28{
29namespace SyntacticAnalysis
30{
31
32#define SYNTACTICANALYZERDISAMB_CLASSID "SyntacticAnalyzerDisamb"
33
38{
39public:
41
42 // SyntacticAnalyzerDisamb(SyntacticAnalyzerDisamb&);
43
45
46 void init(
48 Manager* manager) override;
49
50 LimaStatusCode process(AnalysisContent& analysis) const override;
51
52 MediaId language() const;
53
54 inline void disambiguated(bool disamb) { m_disamb = disamb; }
55 inline bool disambiguated() { return m_disamb; }
56
57protected:
58 MediaId m_language;
60
62
63 // LinguisticGraphVertex nextChainsDisambBreakFrom(
64 // const LinguisticGraphVertex& v,
65 // const LinguisticAnalysisStructure::AnalysisGraph& graph,
66 // const LinguisticGraphVertex& nextSentenceBreak) const;
67
68};
69
71{
72 return m_language;
73}
74
75} // closing namespace SyntacticAnalysis
76} // closing namespace LinguisticProcessing
77} // closing namespace Lima
78
79#endif
A graph structure for linguistic analysis.
#define LIMA_SYNTACTICANALYSIS_EXPORT
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236