Created
December 2, 2020 13:11
-
-
Save muhsalaa/61977dc403fe852448b330eb5eec4be7 to your computer and use it in GitHub Desktop.
Bag of words of dirty word in indonesia and other language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// simple function to check duplicate exist | |
function dupe(arr) { | |
return [...new Set(arr)].length === arr.length | |
} | |
// BOW | |
const misuh_warning = [ | |
'asu','4su','45u','a5u', | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment