Python Library


Get started!

In order to make it easier to use our datasets, we have written a Python library for you. The module has a function that allows
you to interact with data on github. It allows you to search for phrases, search entire texts for phrases, assess the similarity
of a given text to a phrase, and download the entire contents of a dataset
. The library is located on PyPI and can be installed
with the following command

$ pip install scheckbl

Examples

Below is some sample code using each function of our library.
You can find an explanation of each argument and function in the project wiki.


from scheckbl import blocklist

c = blocklist.check("phrases", "vulgarisms", "f*ck")
f = blocklist.find("phrases", "vulgarisms", "I f*ck you")
g = blocklist.get("urls", "ads")
s = blocklist.similar("phrases", "vulgarisms", "f*uck", 0.3)
  
Read more in docs...