Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
PorterStemFilter.h
Go to the documentation of this file.
1
2
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3
// Distributable under the terms of either the Apache License (Version 2.0)
4
// or the GNU Lesser General Public License.
6
7
#ifndef PORTERSTEMFILTER_H
8
#define PORTERSTEMFILTER_H
9
10
#include "
TokenFilter.h
"
11
12
namespace
Lucene {
13
31
class
LPPAPI
PorterStemFilter
:
public
TokenFilter
{
32
public
:
33
PorterStemFilter
(
const
TokenStreamPtr
& input);
34
virtual
~
PorterStemFilter
();
35
36
LUCENE_CLASS
(
PorterStemFilter
);
37
38
protected
:
39
PorterStemmerPtr
stemmer
;
40
TermAttributePtr
termAtt
;
41
42
public
:
43
virtual
bool
incrementToken();
44
};
45
46
}
47
48
#endif
clucene.sourceforge.net