definite_pronoun_resolution
Stay organized with collections
Save and categorize content based on your preferences.
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.
Split |
Examples |
'test' |
564 |
'train' |
1,322 |
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 |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
candidates |
Sequence(Text) |
(2,) |
string |
|
label |
ClassLabel |
|
int64 |
|
pronoun |
Text |
|
string |
|
sentence |
Text |
|
string |
|
@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}
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-15 UTC.
[null,null,["Last updated 2023-04-15 UTC."],[],[],null,["# definite_pronoun_resolution\n\n\u003cbr /\u003e\n\n- **Description**:\n\nComposed by 30 students from one of the author's undergraduate classes. These\nsentence pairs cover topics ranging from real events (e.g., Iran's plan to\nattack the Saudi ambassador to the U.S.) to events/characters in movies (e.g.,\nBatman) and purely imaginary situations, largely reflecting the pop culture as\nperceived by the American kids born in the early 90s. Each annotated example\nspans four lines: the first line contains the sentence, the second line contains\nthe target pronoun, the third line contains the two candidate antecedents, and\nthe fourth line contains the correct antecedent. If the target pronoun appears\nmore than once in the sentence, its first occurrence is the one to be resolved.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/definite-pronoun-resolution-dataset)\n\n- **Homepage** :\n [https://www.hlt.utdallas.edu/\\~vince/data/emnlp12/](https://www.hlt.utdallas.edu/%7Evince/data/emnlp12/)\n\n- **Source code** :\n [`tfds.text.DefinitePronounResolution`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/definite_pronoun_resolution.py)\n\n- **Versions**:\n\n - **`1.1.0`** (default): No release notes.\n- **Download size** : `222.12 KiB`\n\n- **Dataset size** : `334.22 KiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 564 |\n| `'train'` | 1,322 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'candidates': Sequence(Text(shape=(), dtype=string)),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=2),\n 'pronoun': Text(shape=(), dtype=string),\n 'sentence': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|------------|----------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| candidates | Sequence(Text) | (2,) | string | |\n| label | ClassLabel | | int64 | |\n| pronoun | Text | | string | |\n| sentence | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('sentence', 'label')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @inproceedings{rahman2012resolving,\n title={Resolving complex cases of definite pronouns: the winograd schema challenge},\n author={Rahman, Altaf and Ng, Vincent},\n booktitle={Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning},\n pages={777--789},\n year={2012},\n organization={Association for Computational Linguistics}\n }"]]