public class PronounScorer extends DocumentScorer
Mentions in the response and key files are aligned based on the final character of the head of the mentions.
| Modifier and Type | Field and Description |
|---|---|
float |
accuracy
pronoun coreference accuracy for the most recently processed document.
|
float |
overallAccuracy
pronoun coreference accuracy for all documents processed by this instance
of CorefScorer.
|
| Constructor and Description |
|---|
PronounScorer()
create a new pronoun coreference scorer.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
report()
writes to standard output a report on the most recently
scored document.
|
void |
score(Document responseDoc,
Document keyDoc)
compare the two documents,
responseDoc and
keyDoc, setting accuracy and
overallAccuracy. |
void |
summary()
writes to standard output a report on the overall accuracy
for all documents processed so far.
|
public float accuracy
public float overallAccuracy
public void score(Document responseDoc, Document keyDoc)
responseDoc and
keyDoc, setting accuracy and
overallAccuracy.score in class DocumentScorerpublic void report()
report in class DocumentScorerpublic void summary()
summary in class DocumentScorerpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2016 New York University. All rights reserved.