MorphInterpretation.hpp
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* File: MorphInterpretation.hpp
* Author: mlenart
*
* Created on November 14, 2013, 11:47 AM
*/
#ifndef MORPHINTERPRETATION_HPP
#define MORPHINTERPRETATION_HPP
#include <string>
#include "Tagset.hpp"
#include "EncodedInterpretation.hpp"
#include "charset/CharsetConverter.hpp"
#include "Environment.hpp"
class MorphInterpretation {
public:
MorphInterpretation(
int startNode,
int endNode,
const std::string& orth,
const std::string& lemma,
const std::string& homonymId,
int tagnum,
int namenum,
int qualifiersNum,
const Environment& env);
static MorphInterpretation createIgn(int startNode, const std::string& orth, const Environment& env);
// virtual ~MorphInterpretation();
int getStartNode() const;
int getEndNode() const;
const std::string& getOrth() const;
const std::string& getLemma() const;
const std::string& getHomonymId() const;
int getTagnum() const;
int getNamenum() const;
const std::string& getTag() const;
const std::string& getName() const;
const std::vector<std::string>& getQualifiers() const;
std::string toString(bool includeNodeNumbers) const;
private:
MorphInterpretation(
int startNode,
const std::string& orth,
const Environment& env);
int startNode;
int endNode;
std::string orth;
std::string lemma;
std::string homonymId;
int tagnum;
int namenum;
std::string tag;
std::string name;
std::vector<std::string> qualifiers;
};
#endif /* MORPHINTERPRETATION_HPP */