@PipeBitInfo(name="HTML Writer", description="Writes html files with document text and simple markups (Semantic Group, CUI, Negation).", role=WRITER, dependencies={DOCUMENT_ID,SENTENCE,BASE_TOKEN}, usables={DOCUMENT_ID_PREFIX,IDENTIFIED_ANNOTATION,EVENT,TIMEX,TEMPORAL_RELATION}) public final class HtmlTextWriter extends org.apache.uima.fit.component.CasConsumer_ImplBase
Constructor and Description |
---|
HtmlTextWriter() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.cas.CAS aCAS) |
void |
process(org.apache.uima.jcas.JCas jcas)
Process the jcas and write pretty sentences to file.
|
void |
setOutputDirectory(String outputDirectoryPath) |
getLogger, initialize
getRequiredCasInterface, process, typeSystemInit
getCasInstancesRequired, hasNext, next
public void setOutputDirectory(String outputDirectoryPath) throws IllegalArgumentException, SecurityException
outputDirectoryPath
- may be empty or null, in which case the current working directory is usedIllegalArgumentException
- if the provided path points to a File and not a DirectorySecurityException
- if the File System has issuespublic 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 process(org.apache.uima.jcas.JCas jcas)
jcas
- ye olde ...Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.