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
LetterTokenizer.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2011 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 LETTERTOKENIZER_H
8
#define LETTERTOKENIZER_H
9
10
#include "
CharTokenizer.h
"
11
12
namespace
Lucene
13
{
19
class
LPPAPI
LetterTokenizer
:
public
CharTokenizer
20
{
21
public
:
23
LetterTokenizer
(
ReaderPtr
input);
24
26
LetterTokenizer
(
AttributeSourcePtr
source,
ReaderPtr
input);
27
29
LetterTokenizer
(
AttributeFactoryPtr
factory,
ReaderPtr
input);
30
31
virtual
~
LetterTokenizer
();
32
33
LUCENE_CLASS
(
LetterTokenizer
);
34
35
public
:
37
virtual
bool
isTokenChar(
wchar_t
c);
38
};
39
}
40
41
#endif
clucene.sourceforge.net