public class Conll2000Reader
extends de.tudarmstadt.ukp.dkpro.core.api.io.JCasResourceCollectionReader_ImplBase
Modifier and Type | Field and Description |
---|---|
protected String |
chunkMappingLocation |
protected String |
chunkTagset |
static String |
PARAM_CHUNK_MAPPING_LOCATION
Load the chunk tag to UIMA type mapping from this location instead of locating
the mapping automatically.
|
static String |
PARAM_CHUNK_TAG_SET
Use this chunk tag set to use to resolve the tag set mapping instead of using the
tag set defined as part of the model meta data.
|
static String |
PARAM_ENCODING
Character encoding of the input data.
|
static String |
PARAM_INTERN_TAGS
Use the
String.intern() method on tags. |
static String |
PARAM_LANGUAGE
The language.
|
static String |
PARAM_POS_MAPPING_LOCATION
Load the part-of-speech tag to UIMA type mapping from this location instead of locating
the mapping automatically.
|
static String |
PARAM_POS_TAG_SET
Use this part-of-speech tag set to use to resolve the tag set mapping instead of using the
tag set defined as part of the model meta data.
|
static String |
PARAM_READ_CHUNK
Write chunk information.
|
static String |
PARAM_READ_POS
Write part-of-speech information.
|
protected String |
posMappingLocation |
protected String |
posTagset |
Constructor and Description |
---|
Conll2000Reader() |
Modifier and Type | Method and Description |
---|---|
void |
getNext(org.apache.uima.jcas.JCas aJCas) |
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
close, getLogger, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_ENCODING
public static final String PARAM_LANGUAGE
public static final String PARAM_INTERN_TAGS
String.intern()
method on tags. This is usually a good idea to avoid
spamming the heap with thousands of strings representing only a few different tags.
Default: true
public static final String PARAM_READ_POS
true
public static final String PARAM_POS_TAG_SET
protected String posTagset
public static final String PARAM_POS_MAPPING_LOCATION
protected String posMappingLocation
public static final String PARAM_READ_CHUNK
true
public static final String PARAM_CHUNK_TAG_SET
protected String chunkTagset
public static final String PARAM_CHUNK_MAPPING_LOCATION
protected String chunkMappingLocation
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class de.tudarmstadt.ukp.dkpro.core.api.io.ResourceCollectionReaderBase
org.apache.uima.resource.ResourceInitializationException
public void getNext(org.apache.uima.jcas.JCas aJCas) throws IOException, org.apache.uima.collection.CollectionException
getNext
in class de.tudarmstadt.ukp.dkpro.core.api.io.JCasResourceCollectionReader_ImplBase
IOException
org.apache.uima.collection.CollectionException
Copyright © 2011-2014. All Rights Reserved.