LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
CommonTypedefs.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#ifndef LIMA_WORDSENSEDISAMBIGUATION_COMMONTYPEDEFS_H
7#define LIMA_WORDSENSEDISAMBIGUATION_COMMONTYPEDEFS_H
8
9
11#include <map>
12#include <string>
13#include <set>
15
16namespace Lima
17{
18namespace LinguisticProcessing
19{
20namespace WordSenseDisambiguation
21{
22
23
24typedef std::map<std::string, std::set<uint64_t> >SemanticContext;
25
26
27
29 public:
30 std::set<std::string> lemmas;
33 TargetWordWithContext(std::set<std::string>& lemmas,
35 SemanticContext& context)
36 : lemmas(lemmas), vertex(v), context(context) {}
37};
38
39
48
54
55
56}
57}
58}
59
60
61#endif // LIMA_WORDSENSEDISAMBIGUATION_COMMONTYPEDEFS_H
A graph structure for linguistic analysis.
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
#define LIMA_WORDSENSEANALYSIS_EXPORT
TargetWordWithContext(std::set< std::string > &lemmas, LinguisticGraphVertex v, SemanticContext &context)
std::map< std::string, std::set< uint64_t > > SemanticContext
NAUTITIA.