Human Name Compare
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 .
Metadata
Release files for human-name-compare 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| human-name-compare-0.4.1.tar.gz | 7.9 kB | Details |
Release files / human-name-compare-0.4.1.tar.gz
| Download URL | human-name-compare-0.4.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee62686efc167f7e7d9004f4f97f75a3bb7b6f4da8b12512d0bf3f800b81478c
|
|
BLAKE2b-256 checksum How to use checksums |
9a0e62639f36a61553c0d94197096f707a060894338ecc8c3e773e2e62c6c674
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.16
|