Skip to main content

Use the Stanford NER model to clean personally identifiable information from dirty dirty text.

Project description

scrubadub removes personally identifiable information from text. scrubadub_address is an extension that uses pyap and libpostal to remove addresses from text.

This package contains one extra detector:

  • scrubadub_address.detectors.AddressDetector - A detector that finds British, American and Canadian addresses.

For more information on how to use this package see the scrubadub address documentation and the scrubadub repository.

Build Status Version Downloads Test Coverage Documentation Status

Installation

First libpostal needs to be installed. Full instructions can be found in the libpostal documentation, but a summary is given below for linux installation:

$ sudo apt-get install curl autoconf automake libtool pkg-config
$ git clone https://github.com/openvenues/libpostal
$ cd libpostal
$ ./bootstrap.sh
$ ./configure --prefix=/usr/local/
$ make -j4
$ sudo make install

Once you have installed libpostal, the remaining python dependencies can be installed:

$ pip install pypostal scrubadub_address

New maintainers

LeapBeyond are excited to be supporting scrubadub with ongoing maintenance and development. Thanks to all of the contributors who made this package a success, but especially @deanmalmgren, IDEO and Datascope.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrubadub_address-2.0.1.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

scrubadub_address-2.0.1-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page