- The Disney-Fox deal is finalized 4 Years Ago
- Beto likes to stand on counters—and there are memes to prove it Today 10:47 AM
- House promises April vote on bill to restore net neutrality rules Today 9:58 AM
- Here’s how many YouTube subscribers Shane Dawson lost for his old bestiality joke Today 9:26 AM
- Drag queen spreads joy to toddler, world with ‘Baby Shark’ performance Today 9:21 AM
- How many ‘chuggas’ should come before choo choo? Today 9:10 AM
- Cory Booker’s weirdly sensual relationship with coffee resurfaces Today 8:31 AM
- Everything you need to know about gaming chat client Discord Today 8:00 AM
- Report: Your Facebook feed is still ripe with fake news Today 7:42 AM
- The 10 best movies based on true stories on Hulu Today 7:00 AM
- Prager University is fighting ‘leftist indoctrination’ on college campuses Today 7:00 AM
- Can ‘Guardians of the Galaxy Vol. 3’ recover from its disastrous drama? Today 6:00 AM
- Devin Nunes is suing Twitter over parody accounts of his mom, cow Monday 8:15 PM
- The best new movies at SXSW 2019 Monday 7:55 PM
- #AbledsAreWeird demonstrates how not to treat people with disabilities Monday 7:33 PM
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.