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"]
-
Notifications
You must be signed in to change notification settings - Fork 0
Hey hey, don't swear
License
izzyaf/beep
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Hey hey, don't swear
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published