LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Tokenizer.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// NAUTITIA
7//
8// jys 24-JUL-2002
9//
10// Tokenizer is the main program of Tokenizer stuff.
11
12#ifndef LIMA_LINGUISTICPROCESSING_FLATTOKENIZER_Tokenizer_H
13#define LIMA_LINGUISTICPROCESSING_FLATTOKENIZER_Tokenizer_H
14
15#include "FlatTokenizerExport.h"
17
18namespace Lima
19{
20namespace LinguisticProcessing
21{
22namespace FlatTokenizer
23{
24
25#define FLATTOKENIZER_CLASSID "FlatTokenizer"
26
27class CharChart;
28
29class TokenizerPrivate;
30
44{
45
46public:
47 Tokenizer();
48 virtual ~Tokenizer();
49
50 void init(
52 Manager* manager) override
53 ;
54
55 LimaStatusCode process(AnalysisContent& analysis) const override;
56
57 const std::shared_ptr<CharChart> charChart() const;
58 std::shared_ptr<CharChart> charChart();
59 void setCharChart(std::shared_ptr<CharChart> charChart);
60
61 private:
62
64};
65
66} //namespace FlatTokenizer
67} // namespace LinguisticProcessing
68} // namespace Lima
69
70#endif
#define LIMA_FLATTOKENIZER_EXPORT
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Manage initialization of InitializableObjects using configuration module and parameters.
This is a MediaProcessUnit that is usually the first element of the pipeline.
Definition Tokenizer.h:44
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236