|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
ST decode(Doc doc)
doc
- A document to process.
void setOption(java.lang.String option, boolean value)
option
- The option name.value
- The value of the option.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |