LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
forme.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
21#ifndef LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_FORME_H
22#define LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_FORME_H
23
24
25#include "poslong.h"
26#include "relation.h"
27
28#include <string>
29#include <vector>
30#include <cstdint>
31
32namespace Lima {
33namespace LinguisticProcessing {
34namespace AnalysisDumpers {
35namespace EasyXmlDumper {
36
37struct Forme
38{
39 Forme();
40
41 Forme(const Forme* f);
42
43 uint64_t id;
45 std::string forme;
46 std::string inflForme;
47 std::string macro;
48 std::string micro;
49 bool operator<(const Forme& f) const { return id<f.id; }
50 std::vector<Relation*> m_outRelations;
51 std::vector<Relation*> m_inRelations;
52
53 bool hasInRelation(const std::string& type) const;
54 bool hasOutRelation(const std::string& type) const;
55};
56
57
58} // end namespace EasyXmlDumper
59} // end namespace AnalysisDumpers
60} // end namespace LinguisticProcessings
61} // end namespace Lima
62
63#endif // LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_FORME_H
NAUTITIA.
represents an Easy position for a form
represents an Easy relation (dep))