LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
MorphoSyntacticDataUtils.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
11#ifndef LIMA_LINGUISTICPROCESSING_LINGUISTICANALYSISSTRUCTUREMORPHOSYNTACTICDATAUTILS_H
12#define LIMA_LINGUISTICPROCESSING_LINGUISTICANALYSISSTRUCTUREMORPHOSYNTACTICDATAUTILS_H
13
15#include "common/LimaCommon.h"
17#include "MorphoSyntacticData.h"
18
19namespace Lima {
20
21namespace LinguisticProcessing {
22
23namespace LinguisticAnalysisStructure {
24
26{
27 public:
28 bool operator()(const LinguisticElement& elem1,const LinguisticElement& elem2) const;
29};
30
32{
33 public:
35 bool operator()(const LinguisticElement& elem1,
36 const LinguisticElement& elem2) const;
37 private:
39};
40
42{
43 public:
45 bool operator()(const LinguisticElement& elem1,
46 const LinguisticElement& elem2) const;
47 private:
49};
50
52{
53 public:
55 LinguisticCode value);
56 bool operator()(const LinguisticElement& elem) const;
57 private:
59 LinguisticCode m_value;
60};
61
72
74{
75 public:
77 const std::set<LinguisticCode>& value);
78 bool operator()(const LinguisticElement& elem) const;
79private:
80 IncludePropertyPredicate& operator=(const IncludePropertyPredicate&) {return *this;}
82 const std::set<LinguisticCode>& m_values;
83};
84
86{
87 public:
89 const std::set<LinguisticCode>& value);
91
92 bool operator()(const LinguisticElement& elem) const;
93
94private:
95 ExcludePropertyPredicate& operator=(const ExcludePropertyPredicate&) {return *this;}
97 const std::set<LinguisticCode>& m_values;
98};
99
100
101} // LinguisticAnalysisStructure
102
103} // LinguisticProcessing
104
105} // Lima
106
107#endif
#define LIMA_LINGUISTICANALYSISSTRUCTURE_EXPORT
Provide function to read write and check a property.
NAUTITIA.