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

Loading...
Searching...
No Matches
LowerCaseTokenizer.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 LOWERCASETOKENIZER_H
8#define LOWERCASETOKENIZER_H
9
10#include "LetterTokenizer.h"
11
12 namespace Lucene {
13
21 class LPPAPI LowerCaseTokenizer : public LetterTokenizer {
22 public:
24 LowerCaseTokenizer(const ReaderPtr& input);
25
27 LowerCaseTokenizer(const AttributeSourcePtr& source, const ReaderPtr& input);
28
30 LowerCaseTokenizer(const AttributeFactoryPtr& factory, const ReaderPtr& input);
31
32 virtual ~LowerCaseTokenizer();
33
34 LUCENE_CLASS(LowerCaseTokenizer);
35
36 public:
38 virtual wchar_t normalize(wchar_t c);
39};
40
41}
42
43#endif
LetterTokenizer.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Lucene::AttributeSource::factory
AttributeFactoryPtr factory
Definition AttributeSource.h:60
Lucene::LetterTokenizer::LetterTokenizer
LetterTokenizer(const ReaderPtr &input)
Construct a new LetterTokenizer.
Lucene::LowerCaseTokenizer::~LowerCaseTokenizer
virtual ~LowerCaseTokenizer()
Lucene::LowerCaseTokenizer::LowerCaseTokenizer
LowerCaseTokenizer(const AttributeFactoryPtr &factory, const ReaderPtr &input)
Construct a new LowerCaseTokenizer using a given AttributeFactory.
Lucene::LowerCaseTokenizer::normalize
virtual wchar_t normalize(wchar_t c)
Converts char to lower case CharFolder::toLower<wchar_t>.
Lucene::LowerCaseTokenizer::LowerCaseTokenizer
LowerCaseTokenizer(const ReaderPtr &input)
Construct a new LowerCaseTokenizer.
Lucene::LowerCaseTokenizer::LowerCaseTokenizer
LowerCaseTokenizer(const AttributeSourcePtr &source, const ReaderPtr &input)
Construct a new LowerCaseTokenizer using a given AttributeSource.
Lucene::Tokenizer::input
ReaderPtr input
The text source for this Tokenizer.
Definition Tokenizer.h:47
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::ReaderPtr
boost::shared_ptr< Reader > ReaderPtr
Definition LuceneTypes.h:547
Lucene::AttributeFactoryPtr
boost::shared_ptr< AttributeFactory > AttributeFactoryPtr
Definition LuceneTypes.h:519
Lucene::AttributeSourcePtr
boost::shared_ptr< AttributeSource > AttributeSourcePtr
Definition LuceneTypes.h:520

clucene.sourceforge.net