Skip to main content

Phonex algorithm for python3

Project description

phonex

Algorithme phonex pour python3

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.

Voir la version originale.

Algorithme Phonex Copyright Frédéric BROUARD (31/3/99)

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

phonex-0.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

phonex-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file phonex-0.0.2.tar.gz.

File metadata

  • Download URL: phonex-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for phonex-0.0.2.tar.gz
Algorithm Hash digest
SHA256 67be4fa951e5ced151feeb65bc6dbf5b89d1bf7562cc9c2161e8c33e21bd5b9d
MD5 5e65f053ac22a7d83b9dee709061f185
BLAKE2b-256 9319fc29eeddf80fbe7391162c048be964418f4688ecdc683dbe3ad9a57ca86e

See more details on using hashes here.

File details

Details for the file phonex-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: phonex-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for phonex-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b81147c7d0503b32877c01017e84e594b64f13ea44a714d86f24705c0a594e93
MD5 90461eb0c84c027a25b749d1ef7823f1
BLAKE2b-256 aecdc75daf063d9707ea82df4543c83c084cafd1e186f6bc92f1bf974c26014f

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