/*
* ResultFormatter.java
*
* Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU General Public License.
*
* authors: Andreas Fay, Jannik Strötgen
* email: fay@stud.uni-heidelberg.de, stroetgen@uni-hd.de
*
* HeidelTime is a multilingual, cross-domain temporal tagger.
* For details, see http://dbs.ifi.uni-heidelberg.de/heideltime
*/
package de.unihd.dbs.heideltime.standalone.components;
import org.apache.uima.jcas.JCas;
/**
* Formatter pattern for results of HeidelTime execution. Similar to CasConsumer in UIMA.
*
* @author Andreas Fay, University of Heidelberg
* @version 1.0
*/
public interface ResultFormatter {
/**
* Formats result
*
* @param jcas JCas object containing annotations - result
* @return Formatted result
*/
public String format(JCas jcas) throws Exception;
}