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'.
///
///
public class ISOLatin1AccentFilter : TokenFilter
{
public ISOLatin1AccentFilter(TokenStream input) : base(input)
{
}
public override Token Next()
{
Token t = input.Next();
if (t == null)
return null;
// Return a token with filtered characters.
return new Token(RemoveAccents(t.TermText()), t.StartOffset(), t.EndOffset(), t.Type());
}
///