LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
RegexMatcher.h
Go to the documentation of this file.
1
// Copyright 2002-2013 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
17
#ifndef LIMA_LINGUISTICPROCESSING_REGEXREPLACER_H
18
#define LIMA_LINGUISTICPROCESSING_REGEXREPLACER_H
19
20
#include "
RegexMatcherExport.h
"
21
#include "
common/Data/LimaString.h
"
22
23
#include "
common/MediaProcessors/MediaProcessUnit.h
"
24
25
namespace
Lima
26
{
27
namespace
LinguisticProcessing
28
{
29
30
namespace
RegexMatching
31
{
32
33
#define REGEXREPLACER_CLASSID "RegexMatcher"
34
35
class
RegexMatcherPrivate;
36
48
class
LIMA_REGEXMATCHER_EXPORT
RegexMatcher
:
public
MediaProcessUnit
49
{
50
friend
class
RegexMatcherPrivate
;
51
52
public
:
53
RegexMatcher
();
54
virtual
~RegexMatcher
();
55
56
void
init(
57
Common::XMLConfigurationFiles::GroupConfigurationStructure
& unitConfiguration,
58
Manager
* manager)
override
;
59
60
LimaStatusCode
process(
AnalysisContent
& analysis)
const override
;
61
62
private
:
63
RegexMatcherPrivate
* m_d;
64
};
65
66
}
//namespace RegexReplace
67
}
// namespace LinguisticProcessing
68
}
// namespace Lima
69
70
#endif
LimaString.h
MediaProcessUnit.h
RegexMatcherExport.h
LIMA_REGEXMATCHER_EXPORT
#define LIMA_REGEXMATCHER_EXPORT
Definition
RegexMatcherExport.h:27
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::RegexMatching::RegexMatcherPrivate
Definition
RegexMatcher.cpp:64
Lima::LinguisticProcessing::RegexMatching::RegexMatcher
This is a MediaProcessUnit that matches regexes against the text itself and replaces corresponding to...
Definition
RegexMatcher.h:49
Lima::MediaProcessUnit
Definition
MediaProcessUnit.h:33
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::LimaStatusCode
LimaStatusCode
Definition
LimaCommon.h:236
lima_linguisticprocessing
src
linguisticProcessing
core
RegexMatcher
RegexMatcher.h
Generated by
1.9.8