org.apache.uima.lucas.indexer.analysis
Class StopwordFilterFactory

java.lang.Object
  extended by org.apache.uima.lucas.indexer.analysis.StopwordFilterFactory
All Implemented Interfaces:
TokenFilterFactory

public class StopwordFilterFactory
extends Object
implements TokenFilterFactory


Field Summary
static String FILE_PATH_PARAMETER
           
static String IGRNORE_CASE_PARAMETER
           
 
Constructor Summary
StopwordFilterFactory(PlainFileReaderFactory plainFileReaderFactory)
           
 
Method Summary
 org.apache.lucene.analysis.TokenFilter createTokenFilter(org.apache.lucene.analysis.TokenStream tokenStream, Properties properties)
           
 void preloadResources(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_PATH_PARAMETER

public static final String FILE_PATH_PARAMETER
See Also:
Constant Field Values

IGRNORE_CASE_PARAMETER

public static final String IGRNORE_CASE_PARAMETER
See Also:
Constant Field Values
Constructor Detail

StopwordFilterFactory

public StopwordFilterFactory(PlainFileReaderFactory plainFileReaderFactory)
Method Detail

createTokenFilter

public org.apache.lucene.analysis.TokenFilter createTokenFilter(org.apache.lucene.analysis.TokenStream tokenStream,
                                                                Properties properties)
                                                         throws IOException
Specified by:
createTokenFilter in interface TokenFilterFactory
Throws:
IOException

preloadResources

public void preloadResources(Properties properties)
                      throws IOException
Specified by:
preloadResources in interface TokenFilterFactory
Throws:
IOException


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.