Skip to main content

Python implementation of phonetisch algorithms e.g. soundex and Cologne phonetics which are phonetic algorithms for English and German. The homophones are encoded to the same representation so that they can be matched despite minor differences in spellings.

Project description

# phonetisch

[![Build Status](https://travis-ci.org/muhammad-ahsan/phonetisch.svg?branch=master)](https://travis-ci.org/muhammad-ahsan/phonetisch) [![PyPI version](https://badge.fury.io/py/phonetisch.svg)](https://badge.fury.io/py/phonetisch)


Phonetic algorithms library in python focusing of multiple languages.

## Key features
* Implementation of Soundex and Caverphone.
* Simple to use.
* Support multiple languages.
* Supports Python 3.4+.

## Installation
Use pip to install the lastest version:

```bash
pip install phonetisch
```

## Usage Examples
```python
from phonetisch import soundex, caverphone

first_code = soundex.encode_word('Example')
second_code = soundex.encode_word('Ekzampul')

if first_code == second_code:
print('Both words are homophones')

print(caverphone.encode_word("Thompson"))
```

## Reference
https://en.wikipedia.org/wiki/Soundex


## Links
* Project: https://github.com/muhammad-ahsan/phonetisch

## License
MIT License

## Contributers
* Muhammad Ahsan [@muhammad-ahsan](https://github.com/muhammad-ahsan)
* Dounia Sediame [@sediame](https://github.com/sediame)


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

phonetisch-0.2.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

phonetisch-0.2.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file phonetisch-0.2.2.tar.gz.

File metadata

  • Download URL: phonetisch-0.2.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for phonetisch-0.2.2.tar.gz
Algorithm Hash digest
SHA256 28b49286f34e509402a73f8c24054b52652ad87559504ba9c1ab988e8d8fc289
MD5 6b45d4e913d4fd5744f478074aab8b7a
BLAKE2b-256 e9465c831083f63c189a39dd24a9f80c2300f4f00bf7674bff9e1d5bfb3068f9

See more details on using hashes here.

File details

Details for the file phonetisch-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: phonetisch-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for phonetisch-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3bd189227367e9474d71ba6d3b5345c01d41c10beec725e2e366b61424996a0
MD5 80a504d0b21677c251b44c980c06390e
BLAKE2b-256 a6a6d5be271909b4ac2c71d5c128f5b9f3119d69baac3a692b9485c33c8a22b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page