LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LangDetector.h
Go to the documentation of this file.
1
// Copyright 2002-2022 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
#ifndef LIMA_LINGUISTICPROCESSING_LangDetector_H
7
#define LIMA_LINGUISTICPROCESSING_LangDetector_H
8
9
#include "
LangDetectorExport.h
"
10
#include "
common/MediaProcessors/MediaProcessUnit.h
"
11
12
namespace
Lima::LinguisticProcessing::LDetector
13
{
14
15
#define LANGDETECTOR_CLASSID "LangDetector"
16
17
class
CharChart;
18
19
class
LangDetectorCore;
20
33
class
LIMA_LANGDETECTOR_EXPORT
LangDetector
:
public
MediaProcessUnit
34
{
35
36
public
:
37
LangDetector
();
38
virtual
~LangDetector
();
39
40
void
init(
41
Common::XMLConfigurationFiles::GroupConfigurationStructure
& unitConfiguration,
42
Manager
* manager)
override
43
;
44
45
LimaStatusCode
process(
AnalysisContent
& analysis)
const override
;
46
47
private
:
48
LangDetectorCore
* m_d;
49
};
50
51
}
// namespace Lima
52
53
#endif
LangDetectorExport.h
LIMA_LANGDETECTOR_EXPORT
#define LIMA_LANGDETECTOR_EXPORT
Definition
LangDetectorExport.h:27
MediaProcessUnit.h
Lima::AnalysisContent
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Definition
AnalysisContent.h:37
Lima::Common::XMLConfigurationFiles::GroupConfigurationStructure
Definition
groupConfigurationStructure.h:32
Lima::InitializableObjectManager
Manage initialization of InitializableObjects using configuration module and parameters.
Definition
InitializableObjectManager.h:32
Lima::LinguisticProcessing::LDetector::LangDetectorCore
Definition
LangDetectorCore.h:20
Lima::LinguisticProcessing::LDetector::LangDetector
This is a MediaProcessUnit that is usually the first element of the pipeline.
Definition
LangDetector.h:34
Lima::MediaProcessUnit
Definition
MediaProcessUnit.h:33
Lima::LinguisticProcessing::LDetector
Definition
LangDetector.cpp:16
Lima::LimaStatusCode
LimaStatusCode
Definition
LimaCommon.h:236
lima_linguisticprocessing
src
linguisticProcessing
core
LangDetector
LangDetector.h
Generated by
1.9.8