# dolphin_number_word

<br />

- **Description**:

Dolphin Math Word Problem dataset (2015), as presented in
<https://www.microsoft.com/en-us/research/uploads/prod/2016/02//dolphin-sigmadolphin.datasets.pdf>

- **Homepage** :
  <https://www.microsoft.com/en-us/research/project/sigmadolphin-2/>

- **Source code** :
  [`tfds.text.dolphin_number_word.DolphinNumberWord`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/dolphin_number_word/dolphin_number_word.py)

- **Versions**:

  - `0.0.1`: Initial release.
  - `0.0.2`: RaggedTensor fix. Equations and Sources represented as a singlestring with components delimited by spaces
  - **`0.0.3`** (default): Reintroduced logic to handle edge-case involving examples without sources.
- **Download size** : `280.42 KiB`

- **Dataset size** : `1.49 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 3,507 |
| `'train'` | 864 |

- **Feature structure**:

    FeaturesDict({
        'ans': Text(shape=(), dtype=string),
        'equations': Text(shape=(), dtype=string),
        'id': Text(shape=(), dtype=string),
        'index': int32,
        'sources': Text(shape=(), dtype=string),
        'text': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| ans | Text |   | string |   |
| equations | Text |   | string |   |
| id | Text |   | string |   |
| index | Tensor |   | int32 |   |
| sources | Text |   | string |   |
| text | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('text', 'ans')`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @inproceedings{inproceedings,
    author = {Shi, Shuming and Wang, Yuehui and Lin, Chin-Yew and Liu, Xiaojiang and Rui, Yong},
    year = {2015},
    month = {09},
    pages = {},
    title = {Automatically Solving Number Word Problems by Semantic Parsing and Reasoning},
    doi = {10.18653/v1/D15-1135}
    }