@PipeBitInfo(name="NegEx Corpus Reader", description="Reads lines from file named by AssertionConst.NEGEX_CORPUS", role=READER, products={DOCUMENT_ID,IDENTIFIED_ANNOTATION}) public class NegExCorpusReader extends org.apache.uima.collection.CollectionReader_ImplBase
Constructor and Description |
---|
NegExCorpusReader() |
NegExCorpusReader(boolean skipReadingValuesJustReadText) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
getNext(org.apache.uima.cas.CAS aCAS)
Does more than a typical reader - also creates an IdentifiedAnnotation
and a DocumentID annotation
|
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
static void |
main(String[] args)
This main method is only for testing purposes.
|
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public NegExCorpusReader()
public NegExCorpusReader(boolean skipReadingValuesJustReadText)
public static void main(String[] args) throws Exception
Exception
public void getNext(org.apache.uima.cas.CAS aCAS) throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public boolean hasNext() throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public void close() throws IOException
IOException
public org.apache.uima.util.Progress[] getProgress()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.