|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
ExtractionContainer reextract(ExtractionContainer originalExtractions, List<ContextDetails> contextDetails, ContextMap context) throws ProcessingException
originalExtractions
- the original extractions predicted for this
documentcontextDetails
- a list of context details representing all
tokens in the documentcontext
- a map of context object provided by the combination
strategy
ProcessingException
- if an error occurs during processingvoid train(ExtractionContainer answerKeys, List<ContextDetails> contextDetails, ContextMap context) throws ProcessingException
answerKeys
- the true extractions to train for this documentcontextDetails
- a list of context details representing all
tokens in the documentcontext
- a map of context object provided by the combination
strategy
ProcessingException
- if an error occurs during processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |