edu.illinois.cs.cogcomp.lbj.coref.decoders
Interface SolutionDecoder<ST extends Solution>

All Known Subinterfaces:
KeyDecoder<ST>
All Known Implementing Classes:
BestLinkDecoder, BIODecoder, ChainSolutionDecoder, ChunkDecoder, CorefDecoder, CorefKeyDecoder, DecoderWithOptions, ExtendHeadsDecoder, KeyChainDecoder, MentionDecoder, ScoredCorefDecoder

public interface SolutionDecoder<ST extends Solution>

Descendants take classifiers (or a set of input structures), and produce a Solution appropriate to the evaluation tasks. For example, if the input is a Doc and the classifiers determine BIO boundaries for mentions, then the natural output (Solution) is a Collection of Mentions.

Author:
Eric Bengtson

Method Summary
 ST decode(Doc doc)
          Decode a document into a solution.
 void setOption(java.lang.String option, boolean value)
          Set an boolean option.
 

Method Detail

decode

ST decode(Doc doc)
Decode a document into a solution.

Parameters:
doc - A document to process.
Returns:
A solution representing the result of the decoding.

setOption

void setOption(java.lang.String option,
               boolean value)
Set an boolean option.

Parameters:
option - The option name.
value - The value of the option.