LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
EventDataDumper.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
6/************************************************************************
7 * @author Olivier Mesnard (olivier.mesnard@cea.fr)
8 * @date Mon Oct 21 2011
9 * @brief a dumper for EventData that outputs an object of type Events
10 * (for compatibility with existing event extraction webservice)
11 ***********************************************************************/
12#ifndef EVENTDATADUMPER_H
13#define EVENTDATADUMPER_H
14
15#include "EventAnalysisExport.h"
16#include "EventData.h"
18
19namespace Lima {
20namespace LinguisticProcessing {
21namespace EventAnalysis {
22
23#define EVENTDATADUMPER_CLASSID "EventDataDumper"
24
26{
27 public:
29 virtual ~EventDataDumper();
30
31 void init(
33 Manager* manager) override;
34
35 LimaStatusCode process(AnalysisContent& analysis) const override;
36
37 private:
38 // key to access annotationData about events in AnalysisContent
39 // initalized to "EventData"
40 std::string m_eventData;
41 // key to access segmentationData in AnalysisContent
42 // initalized to "SegmentationData"
43 std::string m_segmentationData;
44
45};
46
47
48
49} // end namespace
50} // end namespace
51} // end namespace
52
53#endif // EVENTDATADUMPER_H
#define LIMA_EVENTANALISYS_EXPORT
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Manage initialization of InitializableObjects using configuration module and parameters.
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236