- Boys’ sleepovers vs. girls’ sleepovers meme takes stereotypes to absurd heights Tuesday 7:30 PM
- Petition wants Keanu Reeves to be named ‘Time Person of the Year’ Tuesday 6:33 PM
- 8 women accuse Max Landis of sexual, emotional abuse Tuesday 5:37 PM
- Taylor Swift accused of copying Beyoncé—again Tuesday 5:00 PM
- Everything you need to know about Libra, Facebook’s new cryptocurrency Tuesday 4:45 PM
- Netflix just renewed ‘Queer Eye’ for 2 more seasons Tuesday 4:32 PM
- YouTube’s queen of failed robots just unveiled a one-of-a-kind Tesla truck Tuesday 3:58 PM
- AOC infuriates conservatives with ‘concentration camps’ remark Tuesday 3:33 PM
- TikTok users explore identity with Lin Manuel Miranda-inspired meme Tuesday 3:24 PM
- TikTok apology video inspires new duet meme Tuesday 2:51 PM
- Man sues brewery after identifying as female to get beer discount Tuesday 2:31 PM
- Here’s what’s coming and going on Hulu in July 2019 Tuesday 2:22 PM
- This biotech company’s logo is almost straight out of Resident Evil Tuesday 1:26 PM
- Trump says mass deportations to start next week Tuesday 12:28 PM
- GOP pollster bothered by broken elevator in Austria blames socialism Tuesday 10:50 AM
This coding tool is like spell-check, but for racism, sexism, and homophobia
Alex will let you know when your code is inappropriate.
Alex is like your personal spell-check, but for potentially offensive or harmful language. It’s a script created by Holland developer Titus Wormer that automatically checks text and suggests more appropriate options for the words you’re using.
The JavasSript tool checks 218 patterns of language and suggests edits in real time. For instance, changing “master” to “primary,” “slave” to “replica,” and “maiden name” to “birth name.” He began the project a month ago, and it was inspired by a tweet from a developer of color who called out offensive terms.
In order to figure out which loaded language to tag in the tool, Wormer said he did extensive research, and only programmed the tool to highlight subtly harmful language. Because words like “slut” and other profane words for women and people of color are obviously offensive and loaded terms, he didn’t include them in the initial build. (He caught some flack for that from commenters on 4chan, and said he will add suggestions to edit clearly derogatory language.)
“[I gathered the list] by reading up on what people find offensive,” Wormer told the Daily Dot via email. “I searched the Internet for… ‘gender equality writing,’ ‘bias-free writing,’ ‘considerate writing,’ ‘ableist language,’ ‘gender free writing,’ and other lists.” He also provided resources to this research at the bottom of Alex’s website.
Beyond the subtleties like using male-gendered pronouns while writing code or other texts, it’s not uncommon to find inappropriate language in open-source code. GitHub is rife with racist, sexist, and other derogatory terms inside code submitted by members of the tech community. To help combat offensive code, GitHub established an Open Code of Conduct for open-source communities designed to outline appropriate behavior and help people recognize and deal with harmful speech and harassment. And likewise, people are encouraged to suggest additions to Alex through email, Twitter, or GitHub.
Alex isn’t just a tool for programmers, however. Wormer said it can be used for many other types of writing.
“Don’t use it before you text (but maybe do before you text when drunk),” he said. “Do use it when checking your thesis, run it over project documentation. Maybe use it when creating a job listing, or when sending your CV to a possible employer.”
Wormer does add the caveat that Alex isn’t perfect, and might suggest changing a word when there’s no error—but when it does suggest stronger phrasing, it should force people to change their wording, or at least rethink the words they’re using to be more inclusive.
Selena Larson is a technology reporter based in San Francisco who writes about the intersection of technology and culture. Her work explores new technologies and the way they impact industries, human behavior, and security and privacy. Since leaving the Daily Dot, she's reported for CNN Money and done technical writing for cybersecurity firm Dragos.