Skip to content

azhard4int/nsfw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSFW Analyzer

A Python based profanity checker based on the following rules:

  • Using textual information/bag of words.

  • Using bloomfilter for the adult related domains to skip them.

  • Using pre-trained data for the images to recognize adult content from the images.

Usage

There are two use cases NSFW solves.

  1. By checking the title of the web page, by using the bag of words.
from nsfw.nude import ProfanityChecker
score = ProfanityCheck.score('She is so sexy that he did not long last')
print(score)
  1. Using the bloom filter or checking the restricted words in the domain url.
from nsfw.nude import ProfanityChecker
result = ProfanityCheck.domain('zbiornik.com')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%