LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LimaAnalyzer Class Reference

#include <linguisticProcessing/client/lima.h>

Public Member Functions

 LimaAnalyzer (const std::string &langs, const std::string &pipelines, const std::string &modulePath, const std::string &user_config_path="", const std::string &user_resources_path="", const std::string &meta="")
 
 ~LimaAnalyzer ()
 
 LimaAnalyzer (const LimaAnalyzer &a)
 
LimaAnalyzer & operator= (const LimaAnalyzer &a)
 
std::string analyzeText (const std::string &text, const std::string &lang="", const std::string &pipeline="", const std::string &meta="")
 
bool addPipelineUnit (const std::string &pipeline, const std::string &media, const std::string &jsonGroupString)
 

Public Attributes

bool error = false
 
std::string errorMessage = ""
 

Friends

class LimaAnalyzerPrivate
 

Detailed Description

Definition at line 65 of file lima.h.

Constructor & Destructor Documentation

◆ LimaAnalyzer() [1/2]

LimaAnalyzer::LimaAnalyzer ( const std::string &  langs,
const std::string &  pipelines,
const std::string &  modulePath,
const std::string &  user_config_path = "",
const std::string &  user_resources_path = "",
const std::string &  meta = "" 
)

Definition at line 378 of file lima.cpp.

◆ ~LimaAnalyzer()

LimaAnalyzer::~LimaAnalyzer ( )

Definition at line 404 of file lima.cpp.

◆ LimaAnalyzer() [2/2]

LimaAnalyzer::LimaAnalyzer ( const LimaAnalyzer &  a)

Definition at line 409 of file lima.cpp.

Member Function Documentation

◆ addPipelineUnit()

bool LimaAnalyzer::addPipelineUnit ( const std::string &  pipeline,
const std::string &  media,
const std::string &  jsonGroupString 
)

Definition at line 490 of file lima.cpp.

◆ analyzeText()

std::string LimaAnalyzer::analyzeText ( const std::string &  text,
const std::string &  lang = "",
const std::string &  pipeline = "",
const std::string &  meta = "" 
)

Definition at line 556 of file lima.cpp.

◆ operator=()

LimaAnalyzer & LimaAnalyzer::operator= ( const LimaAnalyzer &  a)

Definition at line 429 of file lima.cpp.

Friends And Related Symbol Documentation

◆ LimaAnalyzerPrivate

friend class LimaAnalyzerPrivate
friend

Definition at line 67 of file lima.h.

Member Data Documentation

◆ error

bool LimaAnalyzer::error = false

Definition at line 89 of file lima.h.

◆ errorMessage

std::string LimaAnalyzer::errorMessage = ""

Definition at line 90 of file lima.h.


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