Skip to main content

a tool for comparing human names

Project description

Human Name Compare

human_name_compare PyPI version

the Problem:

Check if Dr. Peter Müller and Peter K. Müller and Dr. med. Peter Karsten Müller and P. Müller indicate if its the same person

There are gazillion tiny bits and pieces which makes this trivial task hard e.g.:

  • "R. Schönthal" "Robert Schönthal" - the only have initials on one side
  • "Erik Schönthal" "Robert Schönthal" - the firstname name doesnt match
  • "Robert Erik Schönthal" "Robert Peter Schönthal" - the middle name doesnt match
  • "Robert-Erik Schönthal" "Robert Erik Schönthal" - we have an "-" in our firstnames
  • "Robeert Schönthal" "Robert Schönthal" - the firstname has a typo
  • "Robert Müller" "Robert Schönthal" - the lastname doesnt match
  • "Herr Robert Müller" "Dr. med. Robert Schönthal" - we have some prefixes

and so on...

Usage

CLI

$ hn-compare compare "Robert Schönthal" "Robert Schönthal"

Python

from human_name_compare import match_name

match_name("Robert Schönthal", "Robert Schönthal")

Tests

$ python -m pytest .

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

human-name-compare-0.3.14.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file human-name-compare-0.3.14.tar.gz.

File metadata

  • Download URL: human-name-compare-0.3.14.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for human-name-compare-0.3.14.tar.gz
Algorithm Hash digest
SHA256 2b4f93b0ad7dfd5a5e0e50f0bc298cb6697080dc4db36fea07de9c41b8b71961
MD5 5a35eb57d5fbddf22f779f5ac13bdc57
BLAKE2b-256 02141a7b76f8499754ac6c2ac5c2f4440c6bba68df64db362c381622f2e5a285

See more details on using hashes here.

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