|
Textractor API textractor-720 (20091120123250) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttextractor.tools.lookup.AbstractLookupProteinname
public abstract class AbstractLookupProteinname
Provides basic functionality for looking up protein names.
| Field Summary | |
|---|---|
protected boolean |
checkAndRemoveRedundancy
|
protected Dictionary |
dictionary
Dictionary used to lookup terms. |
static String |
DICTIONARY_DIRECTORY
Default directory name for the dictionary. |
protected DocumentIndexManager |
docManager
Document manager used to lookup terms. |
protected String |
indexBasename
|
static String |
LOOKUP_RESULTS_DIRECTORY
Directory name for results of a lookup. |
protected PaiceHuskStemmer |
stemmer
|
protected boolean |
stemming
Indicates that stemming is enabled. |
protected String |
subLookupResultsDirectory
|
| Constructor Summary | |
|---|---|
AbstractLookupProteinname()
|
|
AbstractLookupProteinname(String[] args)
|
|
| Method Summary | |
|---|---|
protected Map<Integer,DocumentTermPositions> |
lookupAllTermsByDocument(String basename)
|
Collection<LookupResult> |
lookupAllTermsByTerm(String basename)
|
void |
setDictionary(String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String indexBasename
protected Dictionary dictionary
protected DocumentIndexManager docManager
protected boolean stemming
protected PaiceHuskStemmer stemmer
protected boolean checkAndRemoveRedundancy
protected String subLookupResultsDirectory
public static final String DICTIONARY_DIRECTORY
public static final String LOOKUP_RESULTS_DIRECTORY
| Constructor Detail |
|---|
public AbstractLookupProteinname()
throws IOException
IOException
public AbstractLookupProteinname(String[] args)
throws IOException
IOException| Method Detail |
|---|
public void setDictionary(String filename)
throws IOException
IOException
public Collection<LookupResult> lookupAllTermsByTerm(String basename)
throws NoSuchMethodException,
IllegalAccessException,
ConfigurationException,
IOException,
InvocationTargetException,
InstantiationException,
ClassNotFoundException,
URISyntaxException
NoSuchMethodException
IllegalAccessException
ConfigurationException
IOException
InvocationTargetException
InstantiationException
ClassNotFoundException
URISyntaxException
protected final Map<Integer,DocumentTermPositions> lookupAllTermsByDocument(String basename)
throws IOException,
ConfigurationException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException,
InstantiationException,
ClassNotFoundException,
URISyntaxException
IOException
ConfigurationException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
InstantiationException
ClassNotFoundException
URISyntaxException
|
Textractor API textractor-720 (20091120123250) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||