HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SnowballPlugin.hpp
Go to the documentation of this file.
1
6
#ifndef _SNOWBALL_HPP
7
#define _SNOWBALL_HPP
8
12
#include <libstemmer.h>
13
17
#include <map>
18
22
#include "
TPlugin.hpp
"
23
#include "
LCoreData.hpp
"
24
25
namespace
HCE
26
{
27
28
namespace
component
29
{
30
31
32
class
SnowballPlugin
:
public
TPlugin
33
{
34
public
:
35
SnowballPlugin
();
36
virtual
~SnowballPlugin
();
37
public
:
38
virtual
void
process
(
LCoreData
&);
39
private
:
40
sb_stemmer* _stemmer;
41
std::map<const SSTRING, sb_stemmer*> _mapStemmer;
42
std::map<const SSTRING, sb_stemmer*>::const_iterator _it;
43
private
:
44
sb_stemmer* getStemmer(
const
SSTRING
& );
45
};
46
47
48
}
/* namespace component */
49
50
}
/* namespace HCE */
51
#endif
sources
refine
src
SnowballPlugin.hpp
Generated on Mon Jan 13 2014 13:08:38 for HCE project C++ developers source code library by
1.8.1.2