Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertjgabriel/profanity
Profanity rates and reviews text, to see if its suitable. Enter a word and it will simply return a value of true or false, depending on whether or not the word is classed as profanity. Based off googles profanity check.
https://github.com/robertjgabriel/profanity
college-project machine-learning profanity profanity-rates review-text suitable
Last synced: 7 days ago
JSON representation
Profanity rates and reviews text, to see if its suitable. Enter a word and it will simply return a value of true or false, depending on whether or not the word is classed as profanity. Based off googles profanity check.
- Host: GitHub
- URL: https://github.com/robertjgabriel/profanity
- Owner: RobertJGabriel
- Created: 2015-10-25T01:30:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-05T11:54:05.000Z (almost 9 years ago)
- Last Synced: 2024-05-01T13:18:16.613Z (7 months ago)
- Topics: college-project, machine-learning, profanity, profanity-rates, review-text, suitable
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Profanity rates and reviews text, to see if its suitable. Enter a word and it will simply return a value of true or false, depending on whether or not the word is classed as profanity. Based off googles profanity check.
## Install
```
$ npm install --save profanity
```## Usage
```js
var profanity = require("./profanity.js");
var chalk = require('chalk');profanity("sex", function (response) {
if (response === "false") {
console.log(chalk.blue(response));
} else {
console.log(chalk.red(response));
}
});```
## Team
[![Robert Gabriel](https://avatars2.githubusercontent.com/u/6218780?v=3&s=460)](http://www.projectbird.com) |
---|---
[Robert Gabriel](http://www.projectbird.com) |## License
MIT © [Robert Gabriel](http://www.projectbird.com)