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


lucene::analysis::ISOLatin1AccentFilter Class Reference

A filter that replaces accented characters in the ISO Latin 1 character set (ISO-8859-1) by their unaccented equivalent. More...

#include <Analyzers.h>

Inheritance diagram for lucene::analysis::ISOLatin1AccentFilter:

lucene::analysis::TokenFilter lucene::analysis::TokenStream

Public Member Functions

 ISOLatin1AccentFilter (TokenStream *input, bool deleteTs)
bool next (Token *token)
 To replace accented characters in a String by unaccented equivalents.
virtual ~ISOLatin1AccentFilter ()

Detailed Description

A filter that replaces accented characters in the ISO Latin 1 character set (ISO-8859-1) by their unaccented equivalent.

The case will not be altered.

For instance, 'à' will be replaced by 'a'.


Constructor & Destructor Documentation

lucene::analysis::ISOLatin1AccentFilter::ISOLatin1AccentFilter ( TokenStream input,
bool  deleteTs 
)

virtual lucene::analysis::ISOLatin1AccentFilter::~ISOLatin1AccentFilter (  )  [virtual]


Member Function Documentation

bool lucene::analysis::ISOLatin1AccentFilter::next ( Token token  )  [virtual]

To replace accented characters in a String by unaccented equivalents.

Implements lucene::analysis::TokenStream.


The documentation for this class was generated from the following file:

clucene.sourceforge.net