public class TeiWriter extends JCasFileWriter_ImplBase
JCasFileWriter_ImplBase.NamedOutputStream
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_C_TEXT_PATTERN
A token matching this pattern is rendered as a TEI "c" element instead of a "w" element.
|
static String |
PARAM_FILENAME_SUFFIX
Specify the suffix of output files.
|
static String |
PARAM_INDENT
Indent the XML.
|
static String |
PARAM_WRITE_CONSTITUENT
Write constituent annotations to the CAS.
|
static String |
PARAM_WRITE_NAMED_ENTITY
Write named entity annotations to the CAS.
|
JAR_PREFIX, PARAM_COMPRESSION, PARAM_ESCAPE_DOCUMENT_ID, PARAM_OVERWRITE, PARAM_SINGULAR_TARGET, PARAM_STRIP_EXTENSION, PARAM_TARGET_LOCATION, PARAM_USE_DOCUMENT_ID
Constructor and Description |
---|
TeiWriter() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.jcas.JCas aJCas) |
collectionProcessComplete, getCompressionMethod, getOutputStream, getOutputStream, getRelativePath, getTargetLocation, isStripExtension, isUseDocumentId
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_FILENAME_SUFFIX
.xml
. If the suffix is not
needed, provide an empty string as value.public static final String PARAM_C_TEXT_PATTERN
public static final String PARAM_WRITE_CONSTITUENT
public static final String PARAM_WRITE_NAMED_ENTITY
public static final String PARAM_INDENT
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2007–2016 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.