Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LetterTokenizer.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 LETTERTOKENIZER_H
8 #define LETTERTOKENIZER_H
9 
10 #include "CharTokenizer.h"
11 
12 namespace Lucene {
13 
19 class LPPAPI LetterTokenizer : public CharTokenizer {
20 public:
22  LetterTokenizer(const ReaderPtr& input);
23 
25  LetterTokenizer(const AttributeSourcePtr& source, const ReaderPtr& input);
26 
28  LetterTokenizer(const AttributeFactoryPtr& factory, const ReaderPtr& input);
29 
30  virtual ~LetterTokenizer();
31 
33 
34 public:
36  virtual bool isTokenChar(wchar_t c);
37 };
38 
39 }
40 
41 #endif

clucene.sourceforge.net