![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
This is a MediaProcessUnit which detects named entities. More...
#include <linguisticProcessing/core/DeepLimaUnits/RnnNER/RnnNER.h>
Public Member Functions | |
| RnnNER () | |
| virtual | ~RnnNER () override |
| void | init (Lima::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 detects named entities.
As a ProcessUnit, it has an init and a process function. See ProcessUnit for details.
IOPES:
| Lima::LinguisticProcessing::DeepLimaUnits::RnnNER::RnnNER::RnnNER | ( | ) |
Definition at line 103 of file RnnNER.cpp.
|
overridevirtual |
Definition at line 107 of file RnnNER.cpp.
|
override |
Definition at line 112 of file RnnNER.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 |
Creates the posgraph with the second parameter (deleteTokenWhenDestroyed) set to false as the tokens are owned by the anagraph
Creation of an annotation graph if necessary
Creates a node in the annotation graph for each node of the morphosyntactic graph. Each new node is annotated with the name mrphv and associated to the morphosyntactic vertex number
Construction of the tokens used in the tagger.
Implements Lima::MediaProcessUnit.
Definition at line 122 of file RnnNER.cpp.