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


Loading...
Searching...
No Matches
NormalizeCharMap.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 NORMALIZECHARMAP_H
8#define NORMALIZECHARMAP_H
9
10#include "LuceneObject.h"
11
12namespace Lucene {
13
15class LPPAPI NormalizeCharMap : public LuceneObject {
16public:
19
21
22public:
23 MapCharNormalizeCharMap submap;
24 String normStr;
25 int32_t diff;
26
27public:
33 void add(const String& singleMatch, const String& replacement);
34};
35
36}
37
38#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for all Lucene classes.
Definition LuceneObject.h:31
Holds a map of String input to String output, to be used with MappingCharFilter.
Definition NormalizeCharMap.h:15
String normStr
Definition NormalizeCharMap.h:24
int32_t diff
Definition NormalizeCharMap.h:25
MapCharNormalizeCharMap submap
Definition NormalizeCharMap.h:23
void add(const String &singleMatch, const String &replacement)
Records a replacement to be applied to the inputs stream. Whenever singleMatch occurs in the input,...
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net