/plushcap/analysis/deepgram/detect-non-inclusive-language-with-retext-and-node-js

Detect Non-Inclusive Language with Retext and Node.js

What's this blog post about?

This tutorial demonstrates how to use the retext libraries and Node.js to detect potentially problematic language in text or markdown files. The process involves installing necessary dependencies, setting up a Deepgram API key, generating a transcript with Deepgram, and creating a reusable function to check for non-inclusive language using retextProfanities and retextEquality plugins. The results are then logged to the console as suggestions for improvement. This method can be used to identify and change usage patterns of non-inclusive language in various contexts.

Company
Deepgram

Date published
Oct. 1, 2022

Author(s)
Kevin Lewis

Word count
894

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.