highlighter application
1.1
HCE project utils : highlighter
Main Page
Namespaces
Classes
Files
File List
File Members
highlighter application
HCE project utilities highlighter
Namespaces
Classes
Files
File List
sources
src
utils
algorithms
applicationFramework
base64
HCECSM
refine
src
BitsetBase.hpp
BoostPlugin.cpp
BoostPlugin.hpp
CldPlugin.cpp
CldPlugin.hpp
ComponentBase.hpp
CRC.h
CRC64.cpp
CRC64.h
CWords.hpp
DataBase.hpp
Defs.hpp
FakeHCRCPlugin.cpp
FakeHCRCPlugin.hpp
HCETimer.hpp
IcuPlugin.cpp
IcuPlugin.hpp
InDataRefine.hpp
LCore.cpp
LCore.hpp
LCoreData.hpp
libstemmer.h
Log.hpp
MecabPlugin.cpp
MecabPlugin.hpp
MorphChangeGradBitset.hpp
OutDataRefine.hpp
POSMaskBitset.hpp
ProcessInfo.hpp
Refine.cpp
Refine.hpp
RWords.hpp
SnowballPlugin.cpp
SnowballPlugin.hpp
SymbolInfo.hpp
TagReducePlugin.cpp
TagReducePlugin.hpp
TPlugin.hpp
TurglemPlugin.cpp
TurglemPlugin.hpp
main.cpp
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
TurglemPlugin.hpp
Go to the documentation of this file.
1
6
#ifndef _TURGLEM_HPP
7
#define _TURGLEM_HPP
8
9
13
#include <map>
14
#include <cstring>
15
19
#include <turglem/lemmatizer.hpp>
20
#include <turglem/russian/charset_adapters.hpp>
21
#include <turglem/english/charset_adapters.hpp>
22
#include <MAFSA/charset_adapter.h>
23
27
#include "
TPlugin.hpp
"
28
#include "
LCoreData.hpp
"
29
#include "
SymbolInfo.hpp
"
30
31
32
namespace
HCE
33
{
34
35
namespace
component
36
{
37
38
39
enum
part_of_speech
40
{
41
NOUN
= 0,
42
ADJ_FULL
= 1,
43
VERB
= 2,
44
VBE
= 3,
45
MOD
= 4,
46
NUMERAL
= 5,
47
CONJ
= 6,
48
INTERJ
= 7,
49
PREP
= 8,
50
PARTICLE
= 9,
51
ART
= 10,
52
ADV
= 11,
53
PN
= 12,
54
ORDNUM
= 13,
55
PRON
= 14,
56
POSS
= 15,
57
PN_ADJ
= 16
58
};
59
60
61
enum
grammem
62
{
63
Plural
= 0,
64
Singular
= 1,
65
Masculinum
= 2,
66
Feminum
= 3,
67
Animative
= 4,
68
Perfective
= 5,
69
Nominative
= 6,
70
ObjectCase
= 7,
71
Narrative
= 8,
72
Geographics
= 9,
73
Proper
= 10,
74
PersonalPronoun
= 11,
75
Possessive
= 12,
76
Predicative
= 13,
77
Uncountable
= 14,
78
ReflexivePronoun
= 15,
79
DemonstrativePronoun
= 16,
80
Mass
= 17,
81
Comparativ
= 18,
82
Supremum
= 19,
83
FirstPerson
= 20,
84
SecondPerson
= 21,
85
ThirdPerson
= 22,
86
PresentIndef
= 23,
87
Infinitive
= 24,
88
PastIndef
= 25,
89
PastParticiple
= 26,
90
Gerund
= 27,
91
Futurum
= 28,
92
Conditional
= 29,
93
ApostropheS
= 30,
94
Apostrophe
= 31,
95
Names
= 32,
96
Organisation
= 33
97
};
98
99
100
class
TurglemPlugin
:
public
TPlugin
101
{
102
public
:
103
TurglemPlugin
();
104
virtual
~TurglemPlugin
();
105
public
:
106
virtual
void
process
(
LCoreData
&);
107
private
:
108
std::map<Language, tl::lemmatizer> _lem;
109
};
110
111
112
}
/* namespace component */
113
114
}
/* namespace HCE */
115
116
117
#endif
sources
utils
refine
src
TurglemPlugin.hpp
Generated on Mon Jan 13 2014 16:16:17 for highlighter application by
1.8.1.2