Skip to content

Releases: git-ced/redact

v1.0.0 (June 26, 2020)

26 Jun 03:49
Compare
Choose a tag to compare

What's new?

Functions

  • blacklist - Returns a distinct values for all the blacklisted words given.
  • whitelist - Filters the blacklist to allow some given words.
  • redact - Evaluate a string if its in the blacklist and returns a censored version.
  • isBlacklisted - Returns if the sentence has a blacklisted word.
  • blacklistCount - Returns the count of blacklisted words in the sentence

Lists

  • English profanity
  • Filipino profanity