LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SyntacticAnalyzer-simplify.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_SYNTACTICANALYZERSIMPLIFY_H
18#define LIMA_SYNTACTICANALYSIS_SYNTACTICANALYZERSIMPLIFY_H
19
21#include "SyntacticData.h"
24
25namespace Lima
26{
27namespace LinguisticProcessing
28{
29namespace SyntacticAnalysis
30{
31
32#define SYNTACTICANALYZERSIMPLIFY_CLASSID "SyntacticAnalyzerSimplify"
33
38{
39public:
41
43
44 void init(
46 Manager* manager) override
47 ;
48
49 LimaStatusCode process(
50 AnalysisContent& analysis) const override;
51
52 inline MediaId language() const { return m_language; }
53
54private:
55
56protected:
57 MediaId m_language;
58
59 std::shared_ptr<Automaton::Recognizer> m_recognizer;
60
61};
62
63} // closing namespace SyntacticAnalysis
64} // closing namespace LinguisticProcessing
65} // closing namespace Lima
66
67#endif // LIMA_SYNTACTICANALYSIS_SYNTACTICANALYZERSIMPLIFY_H
#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,...
Simplifies the sentence by removing (while storing) recursively the subsentences like relatives of su...
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236