![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/limaSimpleClient.h>
Public Member Functions | |
| LimaSimpleClient () | |
| ~LimaSimpleClient () | |
| void | initialize (const std::string &language, const std::string &pipeline) |
| initialize the LIMA analyzer with one language and one pipeline | |
| std::string | analyze (const std::string &text) |
| analyze a text, encoded in UTF-8. | |
Definition at line 33 of file limaSimpleClient.h.
| Lima::LimaSimpleClient::LimaSimpleClient | ( | ) |
Definition at line 51 of file limaSimpleClient.cpp.
| Lima::LimaSimpleClient::~LimaSimpleClient | ( | ) |
Definition at line 56 of file limaSimpleClient.cpp.
| std::string Lima::LimaSimpleClient::analyze | ( | const std::string & | text | ) |
analyze a text, encoded in UTF-8.
The text is supposed to be in the language with which LIMA has been initialized. The analysis will be performed using the pipeline given at the initialization.
| text | the text to analyze, in UTF-8. |
Definition at line 80 of file limaSimpleClient.cpp.
| void Lima::LimaSimpleClient::initialize | ( | const std::string & | language, |
| const std::string & | pipeline | ||
| ) |
initialize the LIMA analyzer with one language and one pipeline
| language | the language of the documents (3-letters ISO code) |
| pipeline | the name of the pipeline to initialize |
Definition at line 63 of file limaSimpleClient.cpp.