0.0.5 • Published 10 years ago

profanity-analysis v0.0.5

Weekly downloads
76
License
MIT
Repository
github
Last release
10 years ago

profanity-analysis

Not all bad words are equal. This filter rates a blob of text based off bad words to determine if the blob is too vulgar to use.

How To use.

var filter = require('profanityAnalysis'); var results = filter.analyzeBlob(yourString);

the returned results will contin the following object. { indexOfProfanity: [], //Array consisting of the indexes of bad words and the weight the bad word is givin in the config. score: 0, //The total profanity weight values added together precentage: 0 //The total number of words over the weight value of the profantiy - totalWords/score };

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago