|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.illinois.cs.cogcomp.lbj.coref.scorers.Scorer<ChainSolution<T>> edu.illinois.cs.cogcomp.lbj.coref.scorers.ChainScorer<T>
T
- The type of element in a ChainSolution
.public abstract class ChainScorer<T>
Base class for scorers that process ChainSolution
s.
Constructor Summary | |
---|---|
protected |
ChainScorer()
Default constructor. |
Method Summary | |
---|---|
Score |
getScore(ChainSolution<T> key,
ChainSolution<T> pred)
Gets the score for a single solution. |
abstract Score |
getScore(java.util.List<ChainSolution<T>> keys,
java.util.List<ChainSolution<T>> preds)
Gets the score for a list of documents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ChainScorer()
Method Detail |
---|
public Score getScore(ChainSolution<T> key, ChainSolution<T> pred)
getScore
in class Scorer<ChainSolution<T>>
key
- The answer key (gold standard) chain solution.pred
- The predicted chain solution.
public abstract Score getScore(java.util.List<ChainSolution<T>> keys, java.util.List<ChainSolution<T>> preds)
keys
- The answer keys (gold standard) chain solutions,
one per document.preds
- The predicted chain solutions, one per document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |