Package org.sindice.siren.analysis.filter

Examples of org.sindice.siren.analysis.filter.MailtoFilter


  @Override
  protected TokenStreamComponents createComponents(final String fieldName, final Reader reader) {
    final WhitespaceTokenizer source = new WhitespaceTokenizer(matchVersion, reader);
    TokenStream sink = new URIDecodingFilter(source, "UTF-8");
    sink = this.applyURINormalisation(sink);
    sink = new MailtoFilter(sink);
    sink = new LowerCaseFilter(matchVersion, sink );
    sink = new StopFilter(matchVersion, sink, stopSet);
    sink = new LengthFilter(true, sink, 2, 256);
    return new TokenStreamComponents(source, sink);
  }
View Full Code Here


*/
public class MailtoFilterFactory extends TokenFilterFactory {

  @Override
  public TokenStream create(final TokenStream input) {
    return new MailtoFilter(input);
  }
View Full Code Here

TOP

Related Classes of org.sindice.siren.analysis.filter.MailtoFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.