public class IGNReader
extends org.apache.uima.collection.CollectionReader_ImplBase
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_INPUTDIR_ANNO
String parameter indicating path to the directory containing files in
BioC-format that comprise the annotations.
|
static String |
PARAM_INPUTDIR_TEXT
String parameter indicating path to the directory containing files in
BioC-format that comprise the actual text.
|
static String |
PUBLICATION_DATES_FILE
optional Parameter providing the file path to a file mapping the article
ids to the corresponding publication years
|
| Constructor and Description |
|---|
IGNReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
getNext(org.apache.uima.cas.CAS aCas) |
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
void |
initialize() |
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PARAM_INPUTDIR_TEXT
public static final String PARAM_INPUTDIR_ANNO
public static final String PUBLICATION_DATES_FILE
public void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CollectionReader_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void getNext(org.apache.uima.cas.CAS aCas)
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionpublic boolean hasNext()
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionpublic org.apache.uima.util.Progress[] getProgress()
public void close()
throws IOException
IOExceptionCopyright © 2018 JULIE Lab Jena, Germany. All rights reserved.