de.unihd.dbs.uima.consumer.aceternwriter
public class ACETernWriter extends org.apache.uima.collection.CasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_CONVERTTIMEX3TO2 |
static java.lang.String |
PARAM_OUTPUTDIR |
Constructor and Description |
---|
ACETernWriter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<java.util.regex.MatchResult> |
findMatches(java.util.regex.Pattern pattern,
java.lang.CharSequence s)
Find all the matches of a pattern in a charSequence and return the
results as list.
|
void |
initialize()
initialize
|
void |
printTimexAnnotationsInline(org.apache.uima.jcas.JCas jcas) |
void |
processCas(org.apache.uima.cas.CAS aCAS)
process
|
java.lang.String |
translatetimex3timex2(java.lang.String timexvalue) |
java.lang.String |
translatetimex3timex2set(java.lang.String timexvalue) |
batchProcessComplete, collectionProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String PARAM_OUTPUTDIR
public static final java.lang.String PARAM_CONVERTTIMEX3TO2
public void initialize() throws org.apache.uima.resource.ResourceInitializationException
initialize
in class org.apache.uima.collection.CasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void processCas(org.apache.uima.cas.CAS aCAS) throws org.apache.uima.resource.ResourceProcessException
org.apache.uima.resource.ResourceProcessException
public void printTimexAnnotationsInline(org.apache.uima.jcas.JCas jcas)
public java.lang.String translatetimex3timex2(java.lang.String timexvalue)
public java.lang.String translatetimex3timex2set(java.lang.String timexvalue)
public static java.lang.Iterable<java.util.regex.MatchResult> findMatches(java.util.regex.Pattern pattern, java.lang.CharSequence s)
pattern
- s
-