Python 2/3 ready implementation of the Kölner Phonetik (http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik) algorithm.
Usage
>>> import kph
>>> kph.encode("Horst Meier")
'078267'
>>> kph.encode("Horst Mayer")
'078267'
>>> kph.encode("Horst Meier") == kph.encode("Horst Mayer")
True
>>> kph.encode("Detlef Krumm") == kph.encode("Detlef Krum") == \
... kph.encode("Detlef Krunn") == kph.encode("Detlef Krun")
True
License
kph - Python module implementing the ‘Koelner Phonetik’ algorithm. Copyright (C) 2011 Robert Schindler
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright
Copyright 2011 by Robert Schindler <robert-sch@gmx.net>. Python 3 compatibility added by Michael Herrmann <[first name] at [last name].io>.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kph-0.4.1.tar.gz.
File metadata
- Download URL: kph-0.4.1.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa08429f15688efa5fb1b81d95e8f5f5b3f7fd85e8d7555c8b1ac61d2f5b324e
|
|
| MD5 |
e5ac9c989f6ef9e8e5202ff4f87ae70b
|
|
| BLAKE2b-256 |
9534f4fea6e073fa2d797993d22e68fb8401e396040bfa3aa06ac0af54caf26b
|