Overview
UsingAnyParser, you can extract PII from your documents, including
- Name
- Phone Number
- Address
- Email Address
- Linkedin URL
- Github URL
- Summary
Setup
Refer to the Quickstart guide to install the AnyParser SDK and get your api key. First, set up yourAnyParser client.
anyparser_pii.py
anyparser_pii method, passing in the following:
file_path(str): the path to the local file
anyparser_extract_pii.py
pii_result(dict): Dictionary with the keys corresponding to PII types, and the values extracted from the documenttotal_time(str): the time elapsed in seconds
Full Code
anyparser_extract_pii.py

