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.
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
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.