LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
SegmentFeaturesDumper.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 *
8 * @file SegmentFeaturesDumper.h
9 * @author Romaric Besancon (romaric.besancon@cea.fr)
10 * @date Mon Feb 7 2011
11 * copyright Copyright (C) 2011 by CEA LIST
12 * Project LIMA
13 *
14 * @brief a dumper that outputs tab-separated word features, one word per line
15 *
16 ***********************************************************************/
17#ifndef LIMA_LINGUISTICPROCESSING_ANALYSISDUMPERSTEXTFEATURESDUMPER_H
18#define LIMA_LINGUISTICPROCESSING_ANALYSISDUMPERSTEXTFEATURESDUMPER_H
19
22
24
28
30
31namespace Lima {
32namespace LinguisticProcessing {
33namespace AnalysisDumpers {
34
35#define SEGMENTFEATURESDUMPER_CLASSID "SegmentFeaturesDumper"
36
38{
39public:
41 virtual ~SegmentFeaturesDumper();
42
44 Manager* manager) override
45 ;
46
47 LimaStatusCode process(AnalysisContent& analysis) const override;
48
49private:
50 std::string m_graph; /*< name of the graph */
51 std::string m_data; /*< name of the segmentation data used */
52 std::string m_sep; /*< separator between features */
53 std::string m_sepReplace; /*< character to replace separator in feature strings */
54 SegmentFeatures* m_features; /* list of features */
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,...
Manage initialization of InitializableObjects using configuration module and parameters.
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236