swearjar-node
swearjar-node copied to clipboard
Profanity detection and filtering library.
Censoring a word should conceal its characters while still allowing the reader to use context clues to understand the sentence it was in, otherwise, the entire sentence may not be...
Steps to reproduce: 1. Load `swearjar-node` (I did so by running `npm install --no-save swearjar` in an empty temporary directory) 2. Run the following in the node.js console: ```javascript const...
Wondering if there is a way to get a list of the words that were found, and not just get a report of the "type" of word? Thanks
Using swearjar inside Vue project, trying to load json file of custom bad words. Gets error saying that parent is undefined in following line : var basePath = path.dirname(module.parent.filename);
Closes #9
with bonus 100% code completion
swearjar.js line 67 throwing "request of a dependency is an expression" linter warning. "swearjar": "^0.2.0", "react": "^15.3.1", based on this: https://github.com/webpack/webpack-dev-server/issues/212 I changed line 67 to this._badWords = require('' +...
It will be great if I can load bad words from a JSON data object which can be retrieved from S3, Database or other resources. I can do it by...
Simply adding an 's' to the end of a profanity defeats the filter. For example, "No fucks given" is not censored.
example "e f f w o r d"