Skip to content

nielswh/cuss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuss Build Status

Map of 1700+ profanities to sureness rating. This rating does not represent how vulgar a term is, instead, how likely it is to be used as either profanity or clean text.

Installation

npm:

npm install cuss

Usage

var cuss = require('cuss');

console.log(Object.keys(cuss).length); // 1768

console.log(cuss.beaver); // 0
console.log(cuss.asshat); // 2

API

cuss

Type: Object.<number>cuss exposes a dictionary of phrases to ratings, where each phrase stems from profanities, and each rating is a number between 0 and 2 (both including), representing the certainty the word is used as a profanity depending on context.

Rating Use as a profanity Use in clean text Example
2 likely unlikely asshat
1 maybe maybe addict
0 unlikely likely beaver

Support

cuss supports 1768 English profane words and phrases from profanities.

License

MIT © Titus Wormer

About

Map of English profane words to a rating of sureness

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%