public class BratReader extends JCasResourceCollectionReader_ImplBase
ResourceCollectionReaderBase.Resource
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_RELATION_TYPES
Types that are relations.
|
static String |
PARAM_SOURCE_ENCODING
Name of configuration parameter that contains the character encoding used by the input files.
|
static String |
PARAM_TEXT_ANNOTATION_TYPES
Types that are text annotations.
|
static String |
PARAM_TYPE_MAPPINGS |
EXCLUDE_PREFIX, INCLUDE_PREFIX, JAR_PREFIX, KEY_RESOURCE_RESOLVER, PARAM_INCLUDE_HIDDEN, PARAM_LANGUAGE, PARAM_LOG_FREQ, PARAM_PATH, PARAM_PATTERNS, PARAM_SOURCE_LOCATION, PARAM_USE_DEFAULT_EXCLUDES
Constructor and Description |
---|
BratReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
getNext(org.apache.uima.jcas.JCas aJCas)
Subclasses implement this method rather than
JCasResourceCollectionReader_ImplBase.getNext(CAS) |
void |
initialize(org.apache.uima.UimaContext aContext) |
getNext, initCas, initCas
getBase, getBase, getDefaultExcludes, getLanguage, getProgress, getResolver, getResourceIterator, getResources, getSourceLocation, hasNext, initCas, initCas, isSingleLocation, locationToUrl, nextFile, scan
getLogger, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_SOURCE_ENCODING
public static final String PARAM_RELATION_TYPES
de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency:Governor:Dependent{A}
.
Additionally, a subcategorization feature may be specified.public static final String PARAM_TEXT_ANNOTATION_TYPES
public static final String PARAM_TYPE_MAPPINGS
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class ResourceCollectionReaderBase
org.apache.uima.resource.ResourceInitializationException
public void close() throws IOException
close
in interface org.apache.uima.collection.base_cpm.BaseCollectionReader
close
in class org.apache.uima.fit.component.CasCollectionReader_ImplBase
IOException
public void getNext(org.apache.uima.jcas.JCas aJCas) throws IOException, org.apache.uima.collection.CollectionException
JCasResourceCollectionReader_ImplBase
JCasResourceCollectionReader_ImplBase.getNext(CAS)
getNext
in class JCasResourceCollectionReader_ImplBase
aJCas
- the JCas.IOException
- if an i/o error occurs reading the data.org.apache.uima.collection.CollectionException
- if another type of error occurs.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.