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
24
26{
27 public:
28 bool operator()(const LinguisticElement& elem1,const LinguisticElement& elem2) const;
29};
30
40
50
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.
CheckDifferentPropertyPredicate(const Common::PropertyCode::PropertyAccessor &prop, LinguisticCode value)
CheckEqualPropertyPredicate(const Common::PropertyCode::PropertyAccessor &prop, LinguisticCode value)
ExcludePropertyPredicate(const Common::PropertyCode::PropertyAccessor &prop, const std::set< LinguisticCode > &value)
IncludePropertyPredicate(const Common::PropertyCode::PropertyAccessor &prop, const std::set< LinguisticCode > &value)
bool operator()(const LinguisticElement &elem1, const LinguisticElement &elem2) const
bool operator()(const LinguisticElement &elem1, const LinguisticElement &elem2) const
bool operator()(const LinguisticElement &elem1, const LinguisticElement &elem2) const
NAUTITIA.