LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SentenceBoundariesFinder.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_LINGUISTICPROCESSING_GRAPHSENTENCEBOUNDSFINDER_H
11#define LIMA_LINGUISTICPROCESSING_GRAPHSENTENCEBOUNDSFINDER_H
12
17
18#include <deque>
19
20namespace Lima
21{
22
23namespace LinguisticProcessing
24{
25
26namespace LinguisticAnalysisStructure
27{
28
29#define SENTENCEBOUNDARIESFINDER_CLASSID "SentenceBoundariesFinder"
30
35{
36public:
38
40
41 void init(
43 Manager* manager) override;
44
45 LimaStatusCode process(AnalysisContent& analysis) const override;
46
47private:
48 const Common::PropertyCode::PropertyAccessor* m_microAccessor;
49 std::string m_data;
50 std::string m_graph;
51 std::set<LimaString> m_boundaryValues;
52 std::set<LimaString> m_forbidBoundaryValues;
53 std::list<LinguisticCode> m_boundaryMicros;
54};
55
56}
57
58}
59
60}
61
62#endif
A graph structure for linguistic analysis.
#define LIMA_TEXTSEGMENTATION_EXPORT
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Provide function to read write and check a property.
Manage initialization of InitializableObjects using configuration module and parameters.
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
initialize with parameters from configuration file.
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236