LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SyntacticAnalyzer-deps.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_SYNTACTICANALYZERDEPS_H
18#define LIMA_SYNTACTICANALYSIS_SYNTACTICANALYZERDEPS_H
19
21#include "SyntacticData.h"
24
25namespace Lima
26{
27namespace LinguisticProcessing
28{
29namespace SyntacticAnalysis
30{
31
32#define SYNTACTICANALYZERDEPS_CLASSID "SyntacticAnalyzerDeps"
33
44{
45public:
47
48 // SyntacticAnalyzerDeps(SyntacticAnalyzerDeps&);
49
51
52 void init(
54 Manager* manager) override
55 ;
56
57 LimaStatusCode process(
58 AnalysisContent& analysis) const override;
59
60 MediaId language() const { return m_language; }
61
62private:
63
64protected:
65 MediaId m_language;
66
67 std::map< std::string, std::shared_ptr<Automaton::Recognizer> > m_recognizers;
68
69 std::deque< std::string > m_actions;
70
72};
73
74
75} // closing namespace SyntacticAnalysis
76} // closing namespace LinguisticProcessing
77} // closing namespace Lima
78
79#endif
#define LIMA_SYNTACTICANALYSIS_EXPORT
Data used for the syntactic analyzis of texts.
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
std::map< std::string, std::shared_ptr< Automaton::Recognizer > > m_recognizers
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236