Skip to main content

Phonetizer - French

Utils library that converts French word or text into phonems. Provides python functions and CLI.

Usage

Install as pip package, then use command line:

$ sentence_to_phonem maison
-> mEz§

GCP API

In Process...

Under the cogs

  • Cuts sentence into words
  • Checks if word is in dictionary
  • If so returns phonemic translation
  • Else returns WordNotFoundError

Dev

To dev in local while retaining access to GCP:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/gcp/jsons/phonetizer-dev-key.json

Todo

  • Lib for nn inference of unknown words is up. Needs to be faster (preload model before inference). Use it to guess new words.
  • Parse Wiktionaire for more comprehensive dictionary
  • Create POS-Tagging to resolve non-homophonic homograms

Download files

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

Source Distribution

phonetizer-fr-dan-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file phonetizer-fr-dan-0.1.0.tar.gz.

File metadata

  • Download URL: phonetizer-fr-dan-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for phonetizer-fr-dan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb3f0c3727de8c7a4677b4cb1f866828f9169ca1150191f1e1777e1210a76564
MD5 b3cd7bef13289b2f6612bf6d6bb3c8b7
BLAKE2b-256 99f2e674940ab99bb3422c2ea55eb1bdf565ad10f73d17041cffe6f7a5015b10

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

0.0.3

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page