de.unihd.dbs.heideltime.standalone.components.impl
public class XMIResultFormatter extends java.lang.Object implements ResultFormatter
org.apache.uima.examples.xmi.XmiWriterCasConsumer}
Constructor and Description |
---|
XMIResultFormatter() |
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.
|
java.lang.String |
format(org.apache.uima.jcas.JCas jcas)
Formats result
|
public java.lang.String format(org.apache.uima.jcas.JCas jcas) throws java.lang.Exception
ResultFormatter
format
in interface ResultFormatter
jcas
- JCas object containing annotations - resultjava.lang.Exception
public static java.lang.Iterable<java.util.regex.MatchResult> findMatches(java.util.regex.Pattern pattern, java.lang.CharSequence s)
pattern
- s
-