Or alternatively:

String test = "HÄllo HÄllo HÄllo HÄllo HÄllo";

ISOLatin1AccentFilter filter = new ISOLatin1AccentFilter(new
                KeywordTokenizer(new StringReader(test)));

    final Token reusableToken = new Token();
    Token nextToken;
        
    if ((nextToken = filter.next(reusableToken)) != null)
         System.out.print(nextToken.term());
        
    filter.close();




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to