Probable People

0.5.6 · active · verified Thu Apr 16

Probable People (version 0.5.6) is a Python library for parsing romanized names and company names using advanced Natural Language Processing (NLP) methods. Developed by DataMade, it focuses on segmenting and labeling components of person and company strings into standardized fields. Releases are infrequent but it is actively maintained.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to use `parse_person` and `parse_company` to segment and label components of given strings, returning a dictionary of parsed parts and a type classification (e.g., 'person', 'company').

from probablepeople import parse_person, parse_company

# Example for parsing a person's name
name = "Mr. John A. Doe Jr."
parsed_name, name_type = parse_person(name)
print(f"Parsed Name: {parsed_name}\nName Type: {name_type}")

# Example for parsing a company name
company = "Google Inc."
parsed_company, company_type = parse_company(company)
print(f"Parsed Company: {parsed_company}\nCompany Type: {company_type}")

view raw JSON →