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

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

public class HypernymFilterFactory
extends Object
implements TokenFilterFactory


Field Summary
static String FILE_PATH_PARAMETER
           
 
Constructor Summary
HypernymFilterFactory(MultimapFileReaderFactory multimapFileReaderFactory)
           
 
Method Summary
 org.apache.lucene.analysis.TokenFilter createTokenFilter(org.apache.lucene.analysis.TokenStream tokenStream, Properties properties)
           
 Map<String,Map<String,List<String>>> getCachedMappings()
           
 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
Constructor Detail

HypernymFilterFactory

public HypernymFilterFactory(MultimapFileReaderFactory multimapFileReaderFactory)
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

getCachedMappings

public Map<String,Map<String,List<String>>> getCachedMappings()


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