- Description:
Composed by 30 students from one of the author's undergraduate classes. These sentence pairs cover topics ranging from real events (e.g., Iran's plan to attack the Saudi ambassador to the U.S.) to events/characters in movies (e.g., Batman) and purely imaginary situations, largely reflecting the pop culture as perceived by the American kids born in the early 90s. Each annotated example spans four lines: the first line contains the sentence, the second line contains the target pronoun, the third line contains the two candidate antecedents, and the fourth line contains the correct antecedent. If the target pronoun appears more than once in the sentence, its first occurrence is the one to be resolved.
Additional Documentation: Explore on Papers With Code
Source code:
tfds.text.DefinitePronounResolution
Versions:
1.1.0
(default): No release notes.
Download size:
222.12 KiB
Dataset size:
334.22 KiB
Auto-cached (documentation): Yes
Splits:
Split | Examples |
---|---|
'test' |
564 |
'train' |
1,322 |
- Feature structure:
FeaturesDict({
'candidates': Sequence(Text(shape=(), dtype=string)),
'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
'pronoun': Text(shape=(), dtype=string),
'sentence': Text(shape=(), dtype=string),
})
- Feature documentation:
Feature | Class | Shape | Dtype | Description |
---|---|---|---|---|
FeaturesDict | ||||
candidates | Sequence(Text) | (2,) | string | |
label | ClassLabel | int64 | ||
pronoun | Text | string | ||
sentence | Text | string |
Supervised keys (See
as_supervised
doc):('sentence', 'label')
Figure (tfds.show_examples): Not supported.
Examples (tfds.as_dataframe):
- Citation:
@inproceedings{rahman2012resolving,
title={Resolving complex cases of definite pronouns: the winograd schema challenge},
author={Rahman, Altaf and Ng, Vincent},
booktitle={Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning},
pages={777--789},
year={2012},
organization={Association for Computational Linguistics}
}