de.fu_berlin.ties.extract.amend
Interface FinalReextractor

All Known Implementing Classes:
BeginEndReextractor

public interface FinalReextractor

Implemtations of this interface signal that they are able to re-analyse the all extractions in a document and perform suitable amendments to improve results.

Version:
$Revision: 1.7 $, $Date: 2006/10/21 16:04:15 $, $Author: siefkes $
Author:
Christian Siefkes

Method Summary
 ExtractionContainer reextract(ExtractionContainer originalExtractions, List<ContextDetails> contextDetails, ContextMap context)
          Re-extract all extractions in a document at the end of the document, considering the complete states of all tokens.
 void train(ExtractionContainer answerKeys, List<ContextDetails> contextDetails, ContextMap context)
          Trains the re-extractor on a document.
 

Method Detail

reextract

ExtractionContainer reextract(ExtractionContainer originalExtractions,
                              List<ContextDetails> contextDetails,
                              ContextMap context)
                              throws ProcessingException
Re-extract all extractions in a document at the end of the document, considering the complete states of all tokens.

Parameters:
originalExtractions - the original extractions predicted for this document
contextDetails - a list of context details representing all tokens in the document
context - a map of context object provided by the combination strategy
Returns:
the predicted extractions
Throws:
ProcessingException - if an error occurs during processing

train

void train(ExtractionContainer answerKeys,
           List<ContextDetails> contextDetails,
           ContextMap context)
           throws ProcessingException
Trains the re-extractor on a document.

Parameters:
answerKeys - the true extractions to train for this document
contextDetails - a list of context details representing all tokens in the document
context - a map of context object provided by the combination strategy
Throws:
ProcessingException - if an error occurs during processing


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.