ajdavis / proporti.onl

Compare number of women, men, and nonbinary people among my friends and followers.
https://www.proporti.onl
Apache License 2.0
239 stars 28 forks source link

Alter priority order of textual gender markers #10

Closed jackie-scholl closed 7 years ago

jackie-scholl commented 7 years ago

The first heuristic for the algorithm is based on the text of the account's bio. This change alters the priority ordering of the words used for that heuristic. In particular, the old priority order had pronouns (e.g. "they") before other descriptors (e.g. "nonbinary"). This commit reverses that. It also puts the more direct descriptors, like "man," before the less direct descriptors, like "father."

I believe that this will create more accurate determinations. In particular, it will mark a bio that says "nonbinary, she/her pronouns" as nonbinary, and a bio that says "woman, they/them pronouns" as a woman. This reflects more accurately what the users are telling us.

jackie-scholl commented 7 years ago

Update: I also snuck in a second edit that adds "enby" to the list of indicators that someone's nonbinary. This is a somewhat common word in the nonbinary community; it comes from the initialism NB (for NonBinary), which sounds like enby. I'm happy to make that a separate PR if you like.

ajdavis commented 7 years ago

Neat, thanks.

ajdavis commented 7 years ago

I've redeployed https://www.proporti.onl with this change.