Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 504 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 504 Bytes

noswear

A fast and simple library for detecting swear words

Usage

difficulty and path are optional values. difficulty is an int between 1 and 100, the higher the value the harder to match a word.

from noswear import noswear
noswear("string for checking", difficulty, path).getresult

Full result

If the word is not detected the value from fullresult will be None.

from noswear import noswear
noswear("string for checking", difficulty, path).fullresult