{"id":15914479,"url":"https://github.com/bbengfort/gender-words-fatale","last_synced_at":"2025-08-15T03:31:48.415Z","repository":{"id":69222731,"uuid":"10022601","full_name":"bbengfort/gender-words-fatale","owner":"bbengfort","description":"An implementation Neal Caren's Gender analysis of the New York Times.","archived":false,"fork":false,"pushed_at":"2013-05-13T02:07:38.000Z","size":332,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T16:53:17.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbengfort.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-13T01:55:22.000Z","updated_at":"2024-05-27T06:17:10.000Z","dependencies_parsed_at":"2023-02-21T02:45:43.225Z","dependency_job_id":null,"html_url":"https://github.com/bbengfort/gender-words-fatale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fgender-words-fatale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fgender-words-fatale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fgender-words-fatale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Fgender-words-fatale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbengfort","download_url":"https://codeload.github.com/bbengfort/gender-words-fatale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890090,"owners_count":18140042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T17:03:24.102Z","updated_at":"2024-12-15T23:41:46.506Z","avatar_url":"https://github.com/bbengfort.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"How Language Reflects Gender- An Analysis\n=========================================\n\nAn implementation of [Neal Caren's Gender analysis of the New York Times](http://nbviewer.ipython.org/5105037).\n\nAfter this post went viral, I thought I'd do a quick knock up of my own Python code to check it\nout. Neal gives most of his code on the website, but I generally take a more class based approach\nto things, and I have my own style of attempting to create modular components for NLP tasks - for\ninstance, I leave it to tokenizers to do their own thing. \n\nCurrently this is just a quick 10 min knock up-- not too robust, but interesting enough. I've also\nuploaded Arthur Conan Doyle's *The Adventures of Sherlock Holmes* if you simply download both files\nand run the script, it will spit out the counts of each sentence's gender. \n\nOtherwise, use the script as follows:\n\n    from gender import GenderParser\n\n    parser = GenderParser('/path/to/text/file.txt')\n    parser.parse()\n   \n    counts = parser.counters\n    \n    sentence_genders = counts.sents\n    word_genders     = counts.words\n    word_frequency   = counts.wfreq\n    proper_nouns     = counts.wcase\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fgender-words-fatale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbengfort%2Fgender-words-fatale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Fgender-words-fatale/lists"}