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.

Files for phonetisch, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size phonetisch-0.2.2-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size phonetisch-0.2.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page