Class ASCIIFoldingFilter
This class converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists.
Characters from the following Unicode blocks are converted; however, only those characters with reasonable ASCII alternatives are converted:
See: http://en.wikipedia.org/wiki/Latin_characters_in_Unicode
The set of character conversions supported by this class is a superset of those supported by Lucene's ISOLatin1AccentFilter which strips accents from Latin1 characters. For example, 'À' will be replaced by 'a'.
Inheritance
System.Object
Lucene.Net.Util.AttributeSource
ASCIIFoldingFilter
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class ASCIIFoldingFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
ASCIIFoldingFilter(TokenStream) |
Methods
Name | Description |
---|---|
FoldToASCII(Char[], Int32) | Converts characters above ASCII to their ASCII equivalents. For example, accents are removed from accented characters. |
IncrementToken() |