LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
linearTextRepresentationLogger.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
21#ifndef LIMA_LINGUISTICPROCESSING_LINEARTEXTREPRESENTATIONLOGGER_H
22#define LIMA_LINGUISTICPROCESSING_LINEARTEXTREPRESENTATIONLOGGER_H
23
25#include "StopList.h"
26#include "LTRTextBuilder.h"
27
29// #include "common/AbstractFactoryPattern/InitializableObject.h"
30
31
32#define LTRLOGGER_CLASSID "LinearTextRepresentationLogger"
33
34namespace Lima {
35namespace LinguisticProcessing {
36namespace AnalysisDumpers {
37
38
46
47// data
48// ----
49private:
50 std::string m_outputSuffix;
51 MediaId m_language;
52 std::shared_ptr<StopList> m_stopList;
53
54
55// methods
56// -------
57public:
59
60 virtual void init(
62 Manager* manager) override;
63 virtual LimaStatusCode process(AnalysisContent& analysis) const override;
64 //}@
65
66};
67
68
69} // AnalysisDumpers
70} // LinguisticProcessing
71} // Lima
72
73
74#endif // LIMA_LINGUISTICPROCESSING_LINEARTEXTREPRESENTATIONLOGGER_H
#define LIMA_ANALYSISDUMPERS_EXPORT
=========================================================================
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Manage initialization of InitializableObjects using configuration module and parameters.
dump on a file a linear representation of the graph resulting from the linguistic analysis of a docum...
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236