phonex
Algorithme phonex pour python3
- porté par Ophir LOJKINE
- écrit par Frédéric BROUARD
- packagé pour
pippar Damien CORPATAUX
Installation
pip install phonex
Usage
La fonction phonex retourne un nombre qui correspond à la prononciation d'un mot en français.
>>> from phonex import phonex
>>> phonex('Dupont')
0.7638993238166792
>>> phonex('Dupond')
0.7638993238166792
>>> phonex('Clairac')
0.47921338864425217
>>> phonex('Clairaque')
0.47921339555074816
Crédits
Phonex est un algorithme de Soundex plus perfectionné [...] que la version francisée de Soundex2. Sachez que Phonex est optimisée pour le langage français, sait reconnaître différents types de sons comme les sons ‘on’, ‘ai’, ‘ein’, etc... et place son résultat sous la forme d’un réel de type double précision (5.0 x 10-324 .. 1.7 x 10308 sur 15 à 16 chiffres significatifs). Son temps de calcul est double de Soundex et 30% supérieure seulement à Soundex2.
Algorithme Phonex Copyright Frédéric BROUARD (31/3/99)
Metadata
Release files for phonex 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phonex-0.0.2.tar.gz | 3.6 kB | Without provenance | Details for phonex-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phonex-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for phonex-0.0.2-py3-none-any.whl |
Total release size: 7.5 kB
Release files / phonex-0.0.2.tar.gz
| Download URL | phonex-0.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67be4fa951e5ced151feeb65bc6dbf5b89d1bf7562cc9c2161e8c33e21bd5b9d
|
|
BLAKE2b-256 checksum How to use checksums |
9319fc29eeddf80fbe7391162c048be964418f4688ecdc683dbe3ad9a57ca86e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Release files / phonex-0.0.2-py3-none-any.whl
| Download URL | phonex-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b81147c7d0503b32877c01017e84e594b64f13ea44a714d86f24705c0a594e93
|
|
BLAKE2b-256 checksum How to use checksums |
aecdc75daf063d9707ea82df4543c83c084cafd1e186f6bc92f1bf974c26014f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Security for phonex 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.