LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
CompactFullDocumentHandler.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 ***************************************************************************/
11
12namespace Lima
13{
14
15namespace LinguisticProcessing
16{
17
21
22
25
28
31
34
37
38
39void CompactFullDocumentHandler::handle(const char* buf,int length)
40{
41 if (m_out != 0) m_out->write(buf,length);
42}
43
44} // closing namespace LinguisticProcessing
45
46} // closing namespace Lima
void startAnalysis() override
function called by the LIMA analyzer on start of a new document
void handle(const char *buf, int length) override
gives content.
void startDocument(const Common::Misc::GenericDocumentProperties &props) override
notify the start of a new document
void endAnalysis() override
function called by the LIMA analyzer on the end of a text part that is to be analyzed
void endDocument() override
notify the end of the document
NAUTITIA.