|
Download README.md from regicid/guardian_attribute_counts: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/datasets/regicid/guardian_attribute_counts/resolve/main/README.md
- Command line
-
hf download hf://datasets/regicid/guardian_attribute_counts/README.md
-
curl -L -o README.md https://huggingface.co/datasets/regicid/guardian_attribute_counts/resolve/main/README.md
1.91 kB
| # guardian_attribute_counts | |
| Word counts attached to male and female characters in The Guardian (1999-2026), per year and BookNLP slot. | |
| `attribute_counts_by_year.csv`: `corpus, year, slot, word, lemma, male_count, female_count, total` | |
| - `slot`: `agent` (verbs the character performs), `patient` (verbs applied to them), `mod` (modifiers/adjectives), `poss` (possessed nouns). | |
| - `word`: lowercased BookNLP token, as extracted (`said`, `says`, `wives`). | |
| - `lemma`: lemma of `word`, with the slot as part-of-speech hint (`agent`/`patient` → verb, `mod` → adjective then noun, `poss` → noun). For example `said`/`says` → `say`, `wives` → `wife`, `happier` → `happy`, `’s` → `be`. Made with [LemmInflect](https://github.com/bjascob/LemmInflect)'s lexicon plus a few hand rules (contractions, decades like `30s`, plural-only nouns); see `lemmatize.py`. Words are lemmatized without context, so true homographs are resolved by the most frequent reading. To work at lemma level, group by `year, slot, lemma` and sum the counts. | |
| - Character gender: from pronouns in the coreference chain, honorifics and first names (name table learned from the corpus); any male/female disagreement is dropped (see `char_table/gender_en.py`, `--cues all`). | |
| - Sections are summed out. Same layout as `regender/attribute_counts_by_rubrique.csv` (French press), minus rubrique and author gender. | |
| `fasttext_vectors.npz`: fastText `cc.en.300` vectors (float16) for every lemma in the data (`words`, `vectors`), so the notebook runs without the 7 GB model. | |
| `semantic_axis_gender.ipynb`: teaching notebook. It builds a fastText semantic axis (or category) from seed words and measures whether it is male- or female-skewed and how that changes over time. | |
| | slot | distinct tokens | distinct lemmas | | |
| |---|---|---| | |
| | agent | 41,439 | 22,119 | | |
| | patient | 26,142 | 13,024 | | |
| | mod | 34,471 | 30,382 | | |
| | poss | 105,616 | 91,360 | | |