Datasets:
| configs: | |
| - config_name: female | |
| data_files: | |
| - split: names | |
| path: data/female/names.parquet | |
| - config_name: male | |
| data_files: | |
| - split: names | |
| path: data/male/names.parquet | |
| license: other | |
| task_categories: | |
| - text-classification | |
| pretty_name: NLTK Names Corpus | |
| # NLTK Names Corpus | |
| Name lists from [NLTK](https://www.nltk.org/), split by gender. | |
| Each gender is a separate config. Each row is one name. | |
| ## Usage | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("nltk-data-hub/names", "female") | |
| names = ds["names"]["name"] | |
| ``` | |
| ## Schema | |
| | Column | Type | Description | | |
| |---|---|---| | |
| | `name` | `string` | The name | | |
| ## Configs | |
| | Config | Count | | |
| |---|---| | |
| | female | 5,001 | | |
| | male | 2,943 | | |
| ## Source | |
| Originally distributed as part of `nltk.download('names')`. | |
| Converted to Parquet for use with the HuggingFace `datasets` library. | |
| ## Citation | |
| ```bibtex | |
| @book{nltk, | |
| author = {Bird, Steven and Klein, Ewan and Loper, Edward}, | |
| title = {Natural Language Processing with Python}, | |
| publisher = {O'Reilly Media}, | |
| year = {2009}, | |
| url = {https://www.nltk.org/} | |
| } | |
| ``` | |