public class CasDumpWriter
extends org.apache.uima.fit.component.CasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
EXCLUDE_PREFIX
Pattern exclusion prefix.
|
static String |
INCLUDE_PREFIX
Pattern inclusion prefix.
|
static String |
PARAM_FEATURE_PATTERNS
Include/exclude features according to the following patterns.
|
static String |
PARAM_SORT
Sort increasing by begin, decreasing by end, increasing by name instead of relying on index
order.
|
static String |
PARAM_TARGET_ENCODING
Output encoding.
|
static String |
PARAM_TARGET_LOCATION
Output file.
|
static String |
PARAM_TYPE_PATTERNS
Include/exclude specified UIMA types in the output.
|
static String |
PARAM_WRITE_DOCUMENT_META_DATA
Whether to dump the content of the
CAS.getDocumentAnnotation() . |
static String |
PATTERN_ANY |
static String |
PATTERN_COLLECTION_ID |
static String |
PATTERN_DOCUMENT_BASE_URI |
static String |
PATTERN_DOCUMENT_URI |
static String |
PATTERN_NULL_VALUE |
Constructor and Description |
---|
CasDumpWriter() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete() |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.cas.CAS aCAS) |
getRequiredCasInterface, process, typeSystemInit
getCasInstancesRequired, hasNext, next
public static final String INCLUDE_PREFIX
public static final String EXCLUDE_PREFIX
public static final String PATTERN_ANY
public static final String PATTERN_NULL_VALUE
public static final String PATTERN_COLLECTION_ID
public static final String PATTERN_DOCUMENT_URI
public static final String PATTERN_DOCUMENT_BASE_URI
public static final String PARAM_TARGET_LOCATION
System.out
(default).public static final String PARAM_TARGET_ENCODING
public static final String PARAM_WRITE_DOCUMENT_META_DATA
CAS.getDocumentAnnotation()
.public static final String PARAM_FEATURE_PATTERNS
FeatureStructure.toString()
.public static final String PARAM_TYPE_PATTERNS
public static final String PARAM_SORT
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.CasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.cas.CAS aCAS) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void collectionProcessComplete()
collectionProcessComplete
in interface org.apache.uima.analysis_component.AnalysisComponent
collectionProcessComplete
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.