LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
FullTokenXmlLogger.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
14
#ifndef LIMA_LINGUISTICPROCESSING_FTXMLLOGGER_H
15
#define LIMA_LINGUISTICPROCESSING_FTXMLLOGGER_H
16
17
#include "
LinguisticProcessorsExport.h
"
18
#include "
linguisticProcessing/common/misc/AbstractLinguisticLogger.h
"
19
#include "
linguisticProcessing/common/PropertyCode/PropertyCodeManager.h
"
20
#include "
linguisticProcessing/core/LinguisticAnalysisStructure/AnalysisGraph.h
"
21
22
namespace
Lima
23
{
24
namespace
LinguisticProcessing
25
{
26
namespace
LinguisticAnalysisStructure
27
{
28
29
#define FULLTOKENXMLLOGGER_CLASSID "FullTokenXmlLogger"
30
31
class
LIMA_LINGUISTICPROCESSORS_EXPORT
FullTokenXmlLogger
:
public
AbstractLinguisticLogger
32
{
33
34
public
:
35
36
FullTokenXmlLogger
();
37
virtual
~FullTokenXmlLogger
();
38
39
void
init(
40
Common::XMLConfigurationFiles::GroupConfigurationStructure
& unitConfiguration,
41
Manager
* manager)
override
42
;
43
44
LimaStatusCode
process(
45
AnalysisContent
& analysis)
const override
;
46
47
protected
:
48
49
private
:
50
51
std::string m_graphId;
52
const
Common::PropertyCode::PropertyCodeManager
* m_propertyCodeManager;
53
MediaId m_language;
54
55
void
dump(
56
std::ostream& fileName,
57
LinguisticAnalysisStructure::AnalysisGraph
& tTokenList)
const
;
58
59
};
60
61
62
}
// LinguisticAnalysisStructure
63
}
// LinguisticProcessing
64
}
// Lima
65
66
#endif
AbstractLinguisticLogger.h
AnalysisGraph.h
LinguisticProcessorsExport.h
LIMA_LINGUISTICPROCESSORS_EXPORT
#define LIMA_LINGUISTICPROCESSORS_EXPORT
Definition
LinguisticProcessorsExport.h:27
PropertyCodeManager.h
Lima::AnalysisContent
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Definition
AnalysisContent.h:37
Lima::Common::PropertyCode::PropertyCodeManager
Provide tools to parse a property file, and deal with the property coding system.
Definition
PropertyCodeManager.h:34
Lima::Common::XMLConfigurationFiles::GroupConfigurationStructure
Definition
groupConfigurationStructure.h:32
Lima::InitializableObjectManager
Manage initialization of InitializableObjects using configuration module and parameters.
Definition
InitializableObjectManager.h:32
Lima::LinguisticProcessing::AbstractLinguisticLogger
A generic process unit to log information in files: contains some common informations such as : outpu...
Definition
AbstractLinguisticLogger.h:33
Lima::LinguisticProcessing::LinguisticAnalysisStructure::AnalysisGraph
An AnalysisData containing a LinguisticGraph with a language and an id.
Definition
AnalysisGraph.h:47
Lima::LinguisticProcessing::LinguisticAnalysisStructure::FullTokenXmlLogger
Definition
FullTokenXmlLogger.h:32
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::LimaStatusCode
LimaStatusCode
Definition
LimaCommon.h:236
lima_linguisticprocessing
src
linguisticProcessing
core
LinguisticProcessors
FullTokenXmlLogger.h
Generated by
1.9.8