# tff.simulation.datasets.stackoverflow.get_synthetic_word_counts

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Returns a small dictionary of word counts.

    tff.simulation.datasets.stackoverflow.get_synthetic_word_counts()

Specifically, this provides the aggregate word counts for all sentences in
[`tff.simulation.datasets.stackoverflow.get_synthetic`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/get_synthetic).

<br />

<br />

<br />

| ## Returns ||
|---|---|
| An ordered dictionary mapping words to their respective count. ||

<br />