![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
This is a MediaProcessUnit which do semantic role labeling using the knowledge-based SRL in python made by Quentin Pradet during his PhD thesis. More...
#include <linguisticProcessing/core/SemanticAnalysis/KnowledgeBasedSemanticRoleLabeler.h>
Public Member Functions | |
| KnowledgeBasedSemanticRoleLabeler () | |
| virtual | ~KnowledgeBasedSemanticRoleLabeler () |
| void | init (Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override |
| LimaStatusCode | process (AnalysisContent &analysis) const override |
| Process on data in analysisContent. | |
| Public Member Functions inherited from Lima::MediaProcessUnit | |
| virtual void | init (Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override=0 |
| initialize with parameters from configuration file. | |
| Public Member Functions inherited from Lima::InitializableObject< MediaProcessUnit, MediaProcessUnitInitializationParameters > | |
| InitializableObject () | |
| InitializableObject & | operator= (const InitializableObject &object) |
| virtual | ~InitializableObject () |
| const std::string & | getId () const |
| get the object id | |
| void | setId (const std::string &id) |
| set the object id | |
Additional Inherited Members | |
| Public Types inherited from Lima::InitializableObject< MediaProcessUnit, MediaProcessUnitInitializationParameters > | |
| typedef InitializableObjectManager< MediaProcessUnit, MediaProcessUnitInitializationParameters > | Manager |
| Manager is the type of the Manager associated to the initializableObject. | |
| typedef InitializableObjectFactory< MediaProcessUnit > | Factory |
| Factory is the type of the Factory associated to the initializableObject. | |
| Protected Attributes inherited from Lima::InitializableObject< MediaProcessUnit, MediaProcessUnitInitializationParameters > | |
| std::string | m_id |
This is a MediaProcessUnit which do semantic role labeling using the knowledge-based SRL in python made by Quentin Pradet during his PhD thesis.
As a ProcessUnit, it has an init and a process function. See ProcessUnit for details.
IOPES:
Definition at line 37 of file KnowledgeBasedSemanticRoleLabeler.h.
| Lima::LinguisticProcessing::SemanticAnalysis::KnowledgeBasedSemanticRoleLabeler::KnowledgeBasedSemanticRoleLabeler | ( | ) |
Definition at line 72 of file KnowledgeBasedSemanticRoleLabeler.cpp.
|
virtual |
Definition at line 76 of file KnowledgeBasedSemanticRoleLabeler.cpp.
|
override |
Definition at line 96 of file KnowledgeBasedSemanticRoleLabeler.cpp.
|
overridevirtual |
Process on data in analysisContent.
This method should not return any exception
| analysis | AnalysisContent object on which to process |
| UndefinedMethod | if this method hasn't been specialized |
Implements Lima::MediaProcessUnit.
Definition at line 307 of file KnowledgeBasedSemanticRoleLabeler.cpp.