scrubadub removes personally identifiable information from text. scrubadub_stanford is an extension that uses Stanford’s NER model to remove personal information from text.
This package contains three flavours of interfacing with Stanford’s NER models that can be used as a detector:
scrubadub_stanford.detectors.StanfordEntityDetector - A detector that uses the Stanford NER model to find locations, names and organizations. Download size circa 250MB.
scrubadub_stanford.detectors.CoreNlpEntityDetector - The same interface as the StanfordEntityDetector, but using Stanza’s CoreNLPClient to interface with the CoreNLP Java Server. Download size circa 510MB.
scrubadub_stanford.detectors.StanzaEntityDetector - Similar to the above but using Stanza’s native Python pipelines. Download size circa 210MB. No Java required. This is the recommended detector for speed and footprint.
Prerequisites
A minimum version of Java Runtime Environment 8 is required for StanfordEntityDetector and CoreNlpEntityDetector. Check which version by running:
$ java -version
It should be at least version 1.8, but if not, please run the following commands:
Linux:
$ sudo apt update $ sudo apt install openjdk-8-jre
MacOS:
$ brew tap adoptopenjdk/openjdk $ brew install adoptopenjdk8-jre
For more information on how to use this package see the scrubadub stanford documentation and the scrubadub repository.
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.
Metadata
Release files for scrubadub-stanford 2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrubadub_stanford-2.1.3.tar.gz | 14.3 kB | Without provenance | Details for scrubadub_stanford-2.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrubadub_stanford-2.1.3-py3-none-any.whl | Python 3 | none | any | Details for scrubadub_stanford-2.1.3-py3-none-any.whl |
Total release size: 31.2 kB
Release files / scrubadub_stanford-2.1.3.tar.gz
| Download URL | scrubadub_stanford-2.1.3.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3bebf8bbd3f35d26e173492ed0bf2a4778bf5423742f93dea365ff52bd0d8db
|
|
BLAKE2b-256 checksum How to use checksums |
105809c0be43f078e5d50f90b2da11aec4207f1cb79342d7d929692eb9ec0f68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / scrubadub_stanford-2.1.3-py3-none-any.whl
| Download URL | scrubadub_stanford-2.1.3-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3811647f9bc015ea91057306f8a76b4536bbc532547daf6246db734f55d7e8ad
|
|
BLAKE2b-256 checksum How to use checksums |
c7d2deb7cf69a046e67ac3981ff62d9ac95fae47c50499f15716c870a66be0aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for scrubadub-stanford 2.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.