Skip to content

web services API and training interface for removing filth from dirty dirty text

License

Notifications You must be signed in to change notification settings

datascopeanalytics/django-scrubadub

Repository files navigation

django_scrubadub

Build Status

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.

Usage

To get started using django_scrubadub in your Django project:

  1. Install django_scrubadub into your python environment

    pip install django_scrubadub
  2. Add django_scrubadub to your application

    # settings.py
    INSTALLED_APPS = (
        ...
        'django_scrubadub',
        ...
    )
    
    # urls.py
    urlpatterns = +[
        url(r'^scrubadub/', include('django_scrubadub.urls')),
    ]
  3. Migrate your database to add some default filth detection from scrubadub into your application

    ./manage.py migrate
  4. Install all of npm packages necessary for the training interface with

    npm install
  5. Start the development server with ./manage.py runserver and open up http://localhost:8000/scrubadub to add some documents for review.

Contributing

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.

About

web services API and training interface for removing filth from dirty dirty text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published