LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
epsilonTransition.cpp
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 : epsilonTransition.cpp
9* Author : Besancon Romaric (besanconr@zoe.cea.fr)
10* Created on : Tue Oct 15 2002
11* Copyright : (c) 2002 by CEA
12* Version : $Id$
13*
14*************************************************************************/
15
16
17#include "epsilonTransition.h"
18#include <iostream>
19#include <fstream>
20
21using namespace std;
23
24namespace Lima {
25namespace LinguisticProcessing {
26namespace Automaton {
27
28/***********************************************************************/
29// constructors
30/***********************************************************************/
34
35/***********************************************************************/
36// destructor
37/***********************************************************************/
39
40/***********************************************************************/
41// assignment operator
42/***********************************************************************/
48
49/***********************************************************************/
50// comparison operators and functions
51/***********************************************************************/
53 if ( type() == t.type() ) {
54 return true;
55 }
56 return false;
57}
58
61 const LinguisticGraphVertex& /*vertex*/,
62 AnalysisContent& /*analysis*/,
65{
66 return false;
67}
68
69} // namespace end
70} // namespace end
71} // namespace end
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
EpsilonTransition & operator=(const EpsilonTransition &)
bool compare(const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, const LinguisticAnalysisStructure::Token *token, const LinguisticAnalysisStructure::MorphoSyntacticData *data) const override
comparison of the transition with a token : can use the graph and vertex info, associated with genera...
bool operator==(const TransitionUnit &) const override
TransitionUnit & operator=(const TransitionUnit &transition)
An AnalysisData containing a LinguisticGraph with a language and an id.
NAUTITIA.
STL namespace.