LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
FakeHandler.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
6/***************************************************************************
7 * Copyright (C) 2004-2012 by CEA LIST *
8 * *
9 ***************************************************************************/
10#ifndef LIMA_LINGUISTICPROCESSINGFAKEHANDLER_H
11#define LIMA_LINGUISTICPROCESSINGFAKEHANDLER_H
12
17
18namespace Lima
19{
20
22{
23
28{
29 Q_OBJECT
30public:
32
33 virtual ~FakeHandler();
34
35 virtual void endAnalysis() override;
36 virtual void endDocument() override;
37 virtual void handle(const char* buf, int length) override ;
38 virtual void startAnalysis() override;
39 virtual void startDocument(const Common::Misc::GenericDocumentProperties& props) override;
40
41};
42
43}
44
45}
46
47#endif
#define LIMA_ANALYSISHANDLERS_EXPORT
virtual void handle(const char *buf, int length) override
gives content.
virtual void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
virtual void startAnalysis() override
function called by the LIMA analyzer on start of a new document
virtual void endDocument() override
notify the end of the document
virtual void startDocument(const Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document, and give its properties
NAUTITIA.