LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
limaSimpleClient.h
Go to the documentation of this file.
1
// Copyright (C) 2017 by CEA - LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
#ifndef LIMASIMPLECLIENT_H
7
#define LIMASIMPLECLIENT_H
8
9
#include "
common/LimaCommon.h
"
10
11
#ifdef WIN32
12
13
#ifdef LIMA_LP_EXPORTING
14
#define LIMA_LP_EXPORT __declspec(dllexport)
15
#else
16
#define LIMA_LP_EXPORT __declspec(dllimport)
17
#endif
18
19
20
#else
// Not WIN32
21
22
#define LIMA_LP_EXPORT
23
24
#endif
25
26
#include <iostream>
27
28
namespace
Lima
{
29
30
// internal delegate class to implement the API
31
class
LimaSimpleClientDelegate;
32
33
class
LIMA_LP_EXPORT
LimaSimpleClient
34
{
35
public
:
36
LimaSimpleClient
();
37
~LimaSimpleClient
();
38
45
void
initialize(
const
std::string& language,
const
std::string& pipeline);
46
57
std::string analyze(
const
std::string& text);
58
59
private
:
60
LimaSimpleClientDelegate
* m_delegate;
61
};
62
63
}
// end namespace
64
65
#endif
LimaCommon.h
Lima::LimaSimpleClientDelegate
Definition
limaSimpleClientDelegate.h:95
Lima::LimaSimpleClient
Definition
limaSimpleClient.h:34
LIMA_LP_EXPORT
#define LIMA_LP_EXPORT
Definition
limaSimpleClient.h:22
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_linguisticprocessing
src
linguisticProcessing
limaSimpleClient.h
Generated by
1.9.8