LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
KnowledgeBasedSemanticRoleLabeler.h
Go to the documentation of this file.
1
// Copyright 2016 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
#ifndef LIMA_LINGUISTICPROCESSING_SEMANTICANALYSIS_KNOWLEDGEBASEDSEMANTICROLELABELER_H
7
#define LIMA_LINGUISTICPROCESSING_SEMANTICANALYSIS_KNOWLEDGEBASEDSEMANTICROLELABELER_H
8
9
#include "
SemanticAnalysisExport.h
"
10
#include "
common/MediaProcessors/MediaProcessUnit.h
"
11
12
namespace
Lima
13
{
14
namespace
LinguisticProcessing
15
{
16
namespace
SemanticAnalysis
17
{
18
19
#define KNOWLEDGEBASEDSEMANTICROLELABELER_CLASSID "KnowledgeBasedSemanticRoleLabeler"
20
21
class
KnowledgeBasedSemanticRoleLabelerPrivate;
22
37
class
LIMA_SEMANTICANALYSIS_EXPORT
KnowledgeBasedSemanticRoleLabeler
:
public
MediaProcessUnit
38
{
39
40
public
:
41
KnowledgeBasedSemanticRoleLabeler
();
42
virtual
~KnowledgeBasedSemanticRoleLabeler
();
43
44
void
init(
45
Common::XMLConfigurationFiles::GroupConfigurationStructure
& unitConfiguration,
46
Manager
* manager)
override
;
47
48
LimaStatusCode
process(
AnalysisContent
& analysis)
const override
;
49
50
private
:
51
52
KnowledgeBasedSemanticRoleLabelerPrivate
* m_d;
53
};
54
55
}
// namespace SemanticAnalysis
56
}
// namespace LinguisticProcessing
57
}
// namespace Lima
58
59
#endif
MediaProcessUnit.h
SemanticAnalysisExport.h
LIMA_SEMANTICANALYSIS_EXPORT
#define LIMA_SEMANTICANALYSIS_EXPORT
Definition
SemanticAnalysisExport.h:27
Lima::AnalysisContent
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Definition
AnalysisContent.h:37
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::SemanticAnalysis::KnowledgeBasedSemanticRoleLabelerPrivate
Definition
KnowledgeBasedSemanticRoleLabeler.cpp:50
Lima::LinguisticProcessing::SemanticAnalysis::KnowledgeBasedSemanticRoleLabeler
This is a MediaProcessUnit which do semantic role labeling using the knowledge-based SRL in python ma...
Definition
KnowledgeBasedSemanticRoleLabeler.h:38
Lima::MediaProcessUnit
Definition
MediaProcessUnit.h:33
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::LimaStatusCode
LimaStatusCode
Definition
LimaCommon.h:236
lima_linguisticprocessing
src
linguisticProcessing
core
SemanticAnalysis
KnowledgeBasedSemanticRoleLabeler.h
Generated by
1.9.8