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)
[![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 hashes)
Built Distribution
Close
Hashes for phonetisch-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3bd189227367e9474d71ba6d3b5345c01d41c10beec725e2e366b61424996a0 |
|
MD5 | 80a504d0b21677c251b44c980c06390e |
|
BLAKE2b-256 | a6a6d5be271909b4ac2c71d5c128f5b9f3119d69baac3a692b9485c33c8a22b1 |