Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Double-metaphone-like algorithm for the french language

Project Description

What’s that?

dprj is an algorithm that extracts sounds from words. It’s similar to metaphone, except it’s targeted at the french language only. While double metaphone or similar can be ok to regroup content that sound more or less the same, it becomes unusable when you want to get the real pronunciation of a word, since it’s mainly targeted at english. And we all know french can be really tricky sometimes.

How to use it?

Install it from PyPI:

pip install dprj

Then just use the say function:

>> from dprj import say
>> say(u'chaussette')
>> say(u'psychologue')
>> say(u'agglomération')
>> say(u'accès')

How reliable is it?

Well, try it and see for yourself! There are still some cases to handle:

  • some plurals
  • some silent final letters (eg. ‘r’)
  • french weirdnesses

If you get incorrect results for any word please let me know by filing and issue.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dprj-0.1.0.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting