![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
This class does the syntactic analysis. More...
#include <linguisticProcessing/core/SyntacticAnalysis/SyntacticAnalyzer-deps.h>
Public Member Functions | |
| SyntacticAnalyzerDeps () | |
| virtual | ~SyntacticAnalyzerDeps () |
| void | init (Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override |
| LimaStatusCode | process (AnalysisContent &analysis) const override |
| Process on data in analysisContent. | |
| MediaId | language () const |
| 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 | |
Protected Attributes | |
| MediaId | m_language |
| std::map< std::string, std::shared_ptr< Automaton::Recognizer > > | m_recognizers |
| std::deque< std::string > | m_actions |
| bool | m_applySameRuleWhileSuccess |
| Protected Attributes inherited from Lima::InitializableObject< MediaProcessUnit, MediaProcessUnitInitializationParameters > | |
| std::string | m_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. | |
This class does the syntactic analysis.
It works on a pointer to a graph.
It is a MediaProcessUnit. It accepts the following parameters:
Definition at line 43 of file SyntacticAnalyzer-deps.h.
| Lima::LinguisticProcessing::SyntacticAnalysis::SyntacticAnalyzerDeps::SyntacticAnalyzerDeps | ( | ) |
Definition at line 45 of file SyntacticAnalyzer-deps.cpp.
|
inlinevirtual |
Definition at line 50 of file SyntacticAnalyzer-deps.h.
|
override |
Definition at line 52 of file SyntacticAnalyzer-deps.cpp.
|
inline |
Definition at line 60 of file SyntacticAnalyzer-deps.h.
|
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 97 of file SyntacticAnalyzer-deps.cpp.
|
protected |
Definition at line 69 of file SyntacticAnalyzer-deps.h.
|
protected |
Definition at line 71 of file SyntacticAnalyzer-deps.h.
|
protected |
Definition at line 65 of file SyntacticAnalyzer-deps.h.
|
protected |
Definition at line 67 of file SyntacticAnalyzer-deps.h.