lumis.search.lucene
Class AccentFilter
java.lang.Object
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.TokenFilter
lumis.search.lucene.AccentFilter
public class AccentFilter
- extends org.apache.lucene.analysis.TokenFilter
Filter that replaces accented characters with their plain versions
- Since:
- 4.0.5
Fields inherited from class org.apache.lucene.analysis.TokenFilter |
input |
Constructor Summary |
AccentFilter(org.apache.lucene.analysis.TokenStream in)
|
Methods inherited from class org.apache.lucene.analysis.TokenFilter |
close |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccentFilter
public AccentFilter(org.apache.lucene.analysis.TokenStream in)
next
public org.apache.lucene.analysis.Token next()
throws IOException
- Specified by:
next
in class org.apache.lucene.analysis.TokenStream
- Throws:
IOException
stripAccentChars
public static String stripAccentChars(String str)
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.