Skip to content

izzyaf/beep

Repository files navigation

Swear Detector

Usage

const SwearDetector = require('beep')

const dictionary = ['thuốc lá', 'súng ống', 'tiểu liên']
const string = 'thuốc lá, súng ống, đạn dược'

const swearWords = SwearDetector(string, dictionary)
console.log(swearWords) // ["thuốc lá", "súng ống"] 

About

Hey hey, don't swear

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published