This Django package provides a web services
API (via Django REST Framework) and
also a training interface for highlighting filth in dirty dirty text, which can
then be used to train scrubadub
classifiers scrubadub
.
To get started using django_scrubadub
in your Django project:
-
Install
django_scrubadub
into your python environmentpip install django_scrubadub
-
Add
django_scrubadub
to your application# settings.py INSTALLED_APPS = ( ... 'django_scrubadub', ... ) # urls.py urlpatterns = +[ url(r'^scrubadub/', include('django_scrubadub.urls')), ]
-
Migrate your database to add some default filth detection from scrubadub into your application
./manage.py migrate
-
Install all of npm packages necessary for the training interface with
npm install
-
Start the development server with
./manage.py runserver
and open up http://localhost:8000/scrubadub to add some documents for review.
The intent of django-scrubadub is to make it as easy as possible for anyone to contribute. Please see the contributing guidelines for more details.