LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
FakeHandler.cpp
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
6
/***************************************************************************
7
* Copyright (C) 2004-2012 by CEA LIST *
8
* *
9
***************************************************************************/
10
#include "
FakeHandler.h
"
11
12
namespace
Lima
13
{
14
15
namespace
LinguisticProcessing
16
{
17
18
FakeHandler::FakeHandler
()
19
:
AbstractTextualAnalysisHandler
()
20
{}
21
22
23
FakeHandler::~FakeHandler
()
24
{}
25
26
void
FakeHandler::startDocument
(
const
Common::Misc::GenericDocumentProperties
&
/*props*/
)
27
{
28
// do nothing
29
}
30
31
33
void
FakeHandler::endDocument
()
34
{
35
// do nothing
36
}
37
38
39
void
FakeHandler::endAnalysis
() {}
40
void
FakeHandler::startAnalysis
() {}
41
43
void
FakeHandler::handle
(
const
char
[],
int
/*length*/
)
44
{
45
// do nothing
46
}
47
48
49
}
50
51
}
FakeHandler.h
Lima::AbstractTextualAnalysisHandler
defines callback interface
Definition
AbstractTextualAnalysisHandler.h:31
Lima::Common::Misc::GenericDocumentProperties
Definition
genericDocumentProperties.h:58
Lima::LinguisticProcessing::FakeHandler::handle
virtual void handle(const char *buf, int length) override
gives content.
Definition
FakeHandler.cpp:43
Lima::LinguisticProcessing::FakeHandler::endAnalysis
virtual void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
Definition
FakeHandler.cpp:39
Lima::LinguisticProcessing::FakeHandler::startAnalysis
virtual void startAnalysis() override
function called by the LIMA analyzer on start of a new document
Definition
FakeHandler.cpp:40
Lima::LinguisticProcessing::FakeHandler::endDocument
virtual void endDocument() override
notify the end of the document
Definition
FakeHandler.cpp:33
Lima::LinguisticProcessing::FakeHandler::~FakeHandler
virtual ~FakeHandler()
Definition
FakeHandler.cpp:23
Lima::LinguisticProcessing::FakeHandler::FakeHandler
FakeHandler()
Definition
FakeHandler.cpp:18
Lima::LinguisticProcessing::FakeHandler::startDocument
virtual void startDocument(const Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document, and give its properties
Definition
FakeHandler.cpp:26
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_linguisticprocessing
src
linguisticProcessing
client
AnalysisHandlers
FakeHandler.cpp
Generated by
1.9.8