public class OneDocPerLineReader2 extends OneDocPerLineReader
CollectionReader that takes a simple text file as input. Each line is
turned into a new CAS. Format is:docId{tab}"title"{tab}"abstract"inputFile, nextLine, pmId, textFileReader| Constructor and Description |
|---|
OneDocPerLineReader2() |
| Modifier and Type | Method and Description |
|---|---|
void |
getNext(org.apache.uima.jcas.JCas jCas) |
getProgress, hasNext, initializeclose, getLogger, getNext, initializedestroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void getNext(org.apache.uima.jcas.JCas jCas)
throws IOException,
org.apache.uima.collection.CollectionException
getNext in class OneDocPerLineReaderIOExceptionorg.apache.uima.collection.CollectionExceptionCopyright © 2015 Bluebrain Project. All rights reserved.