All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.unihd.dbs.heideltime.standalone.components.ResultFormatter Maven / Gradle / Ivy

Go to download

HeidelTime is a multilingual cross-domain temporal tagger that extracts temporal expressions from documents and normalizes them according to the TIMEX3 annotation standard.

There is a newer version: 2.2.1
Show newest version
/*
 * 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:  [email protected], [email protected]
 *
 * 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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy