LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::LimaWorker Class Reference

#include <linguisticProcessing/limaSimpleClientDelegate.h>

Inheritance diagram for Lima::LimaWorker:

Public Slots

void initialize (const std::string &language, const std::string &pipeline)
 
void analyze (const std::string &text)
 
void quit ()
 

Signals

void finishedInit ()
 
void finishedAnalyze ()
 

Public Member Functions

 LimaWorker (QObject *parent=nullptr)
 
virtual ~LimaWorker ()
 
const std::string & getResult () const
 

Public Attributes

std::string m_language
 
std::string m_pipeline
 
std::shared_ptr< Lima::LinguisticProcessing::AbstractLinguisticProcessingClient > m_client
 
Lima::LinguisticProcessing::SimpleStreamHandler * m_handler
 
std::map< std::string, Lima::AbstractAnalysisHandler * > m_handlers
 
bool m_firstInitialization
 

Detailed Description

Definition at line 31 of file limaSimpleClientDelegate.h.

Constructor & Destructor Documentation

◆ LimaWorker()

Lima::LimaWorker::LimaWorker ( QObject *  parent = nullptr)

Definition at line 53 of file limaSimpleClientDelegate.cpp.

◆ ~LimaWorker()

Lima::LimaWorker::~LimaWorker ( )
virtual

Definition at line 64 of file limaSimpleClientDelegate.cpp.

Member Function Documentation

◆ analyze

void Lima::LimaWorker::analyze ( const std::string &  text)
slot

Definition at line 268 of file limaSimpleClientDelegate.cpp.

◆ finishedAnalyze

void Lima::LimaWorker::finishedAnalyze ( )
signal

◆ finishedInit

void Lima::LimaWorker::finishedInit ( )
signal

◆ getResult()

const std::string & Lima::LimaWorker::getResult ( ) const
inline

Definition at line 38 of file limaSimpleClientDelegate.h.

◆ initialize

void Lima::LimaWorker::initialize ( const std::string &  language,
const std::string &  pipeline 
)
slot

Definition at line 190 of file limaSimpleClientDelegate.cpp.

◆ quit

void Lima::LimaWorker::quit ( )
slot

Definition at line 72 of file limaSimpleClientDelegate.cpp.

Member Data Documentation

◆ m_client

std::shared_ptr< Lima::LinguisticProcessing::AbstractLinguisticProcessingClient > Lima::LimaWorker::m_client

Definition at line 52 of file limaSimpleClientDelegate.h.

◆ m_firstInitialization

bool Lima::LimaWorker::m_firstInitialization

Definition at line 58 of file limaSimpleClientDelegate.h.

◆ m_handler

Definition at line 53 of file limaSimpleClientDelegate.h.

◆ m_handlers

std::map<std::string, Lima::AbstractAnalysisHandler*> Lima::LimaWorker::m_handlers

Definition at line 54 of file limaSimpleClientDelegate.h.

◆ m_language

std::string Lima::LimaWorker::m_language

Definition at line 50 of file limaSimpleClientDelegate.h.

◆ m_pipeline

std::string Lima::LimaWorker::m_pipeline

Definition at line 51 of file limaSimpleClientDelegate.h.


The documentation for this class was generated from the following files: