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 77 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 464 of file lima.cpp.

◆ ~LimaAnalyzer()

LimaAnalyzer::~LimaAnalyzer ( )

Definition at line 490 of file lima.cpp.

◆ LimaAnalyzer() [2/2]

LimaAnalyzer::LimaAnalyzer ( const LimaAnalyzer & a)

Definition at line 495 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 576 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 642 of file lima.cpp.

◆ operator=()

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

Definition at line 515 of file lima.cpp.

◆ LimaAnalyzerPrivate

friend class LimaAnalyzerPrivate
friend

Definition at line 79 of file lima.h.

Member Data Documentation

◆ error

bool LimaAnalyzer::error = false

Definition at line 101 of file lima.h.

◆ errorMessage

std::string LimaAnalyzer::errorMessage = ""

Definition at line 102 of file lima.h.


The documentation for this class was generated from the following files:
  • lima_linguisticprocessing/src/linguisticProcessing/client/lima.h
  • lima_linguisticprocessing/src/linguisticProcessing/client/lima.cpp